aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
Commit message (Expand)AuthorAgeFilesLines
* Update tests.Daniel Kirchner2018-07-108-35/+20
* Merge pull request #4440 from ethereum/hex_denomination_enforce_errorchriseth2018-07-092-7/+1
|\
| * Enforce error on hex number combined with unit denominationLeonardo Alt2018-07-092-7/+1
* | Merge pull request #4403 from ethereum/syntaxTestsVisibilitychriseth2018-07-0937-613/+616
|\ \ | |/ |/|
| * Updates interface constructor and function type test.Erik Kundt2018-07-073-15/+18
| * Fixes wrong visibility specifier in interface constructor test.Erik Kundt2018-07-042-9/+9
| * Fixes broken syntax tests.Erik Kundt2018-07-042-18/+9
| * Adds default visibility specifier to syntax tests.Erik Kundt2018-07-0437-610/+619
* | Merge pull request #4418 from ethereum/initialConstantschriseth2018-07-052-2/+2
|\ \
| * | Only allow compile-time constants for constant state variables.chriseth2018-07-042-2/+2
| |/
* | Merge pull request #4409 from ethereum/viewPureCheckerchriseth2018-07-0419-11/+163
|\ \
| * | Extend view pure test suite.Daniel Kirchner2018-07-0417-3/+162
| * | Adjust tests wrt strict view pure checker.Daniel Kirchner2018-07-042-8/+1
| |/
* / Enforcing error on msg.gas and block.blockhash()Leonardo Alt2018-07-045-16/+4
|/
* Merge pull request #4379 from ethereum/constructorArgsTwicechriseth2018-07-047-8/+8
|\
| * Disallow constructor arguments given multiple times.chriseth2018-06-297-8/+8
* | Update test suite.Daniel Kirchner2018-07-033-19/+11
* | Remove trailing whitespace in missing visibility warning.Daniel Kirchner2018-07-023-3/+3
* | Adds review suggestions.Erik Kundt2018-07-022-2/+7
* | Updates syntax tests to specify default visibility.Erik Kundt2018-06-2945-196/+138
|/
* Merge pull request #4354 from ethereum/constructorSyntaxTestschriseth2018-06-2920-50/+44
|\
| * Updates invalid syntax test.Erik Kundt2018-06-291-1/+2
| * Updates syntax tests to new constructor syntax.Erik Kundt2018-06-2920-50/+43
* | Merge pull request #4352 from D-Nice/developchriseth2018-06-292-0/+22
|\ \ | |/ |/|
| * Add passing test caseD-Nice2018-06-292-2/+13
| * Adds storage_reference.sol syntax testD-Nice2018-06-281-0/+11
* | Fallback function has to be external: backwards-compatible changes.chriseth2018-06-2930-64/+81
* | Merge pull request #4097 from ethereum/noPackedExceptForPackedchriseth2018-06-2827-116/+116
|\ \
| * | Also mention regular abi.encode in error message.chriseth2018-06-274-12/+12
| * | Update tests and add new tests.chriseth2018-06-257-3/+71
| * | Adjust tests.chriseth2018-06-2521-116/+48
* | | Add emit keyword to tests.chriseth2018-06-271-2/+1
* | | Remove non-0.5.0 warning for emit keyword (make it mandatory)Alex Beregszaszi2018-06-276-19/+6
* | | test: Adapted to the change of the var-keyword elimination.Christian Parpart2018-06-2650-320/+119
* | | test: drop obsoleted syntaxTest(s)Christian Parpart2018-06-262-19/+0
|/ /
* | Keep the 'if it not used as an address' helper message for all cases of addre...Alex Beregszaszi2018-06-254-4/+4
* | Update tests for strict address literalsJason Cobb2018-06-257-11/+10
|/
* Disallow the years unit denomination properlyAlex Beregszaszi2018-06-223-9/+2
* Merge pull request #4306 from ethereum/remove_050_workaround_scopingchriseth2018-06-2124-85/+29
|\
| * C99 scoping rules by defaultLeonardo Alt2018-06-2024-85/+29
* | Merge pull request #4219 from ethereum/functionTypeNamedArgumentsAlex Beregszaszi2018-06-213-7/+6
|\ \ | |/ |/|
| * Return parameters in function types may not be named.Daniel Kirchner2018-06-183-7/+6
* | Disallow raw callcode (was deprecated in 0.4.12)Alex Beregszaszi2018-06-205-15/+4
|/
* Enforce disallowing empty structsChristian Parpart2018-06-145-20/+13
* Disallow sha3/suicide aliasesAlex Beregszaszi2018-06-134-41/+13
* Merge pull request #4241 from ethereum/show-named-argAlex Beregszaszi2018-06-061-1/+1
|\
| * Show named argument name in errorAlex Beregszaszi2018-06-061-1/+1
* | Extract test cases from ViewPureCheckerAlex Beregszaszi2018-06-0622-0/+227
|/
* Move "create2_as_variable" back to non-isoltest tests.chriseth2018-06-051-6/+0
* Split out SolidityNameAndTypeResolution tests into SyntaxTestsAlex Beregszaszi2018-05-31551-0/+4244
* Merge pull request #4172 from ethereum/trailing_dotchriseth2018-05-313-0/+18
|\
| * Disallow trailing dots that are not followed by a numberLeonardo Alt2018-05-303-0/+18
* | Merge pull request #3743 from ethereum/popStorageArraychriseth2018-05-3129-0/+54
|\ \ | |/ |/|
| * Adds syntax tests, documentation and changelog entry.Erik Kundt2018-05-3029-0/+54
* | Allow using `calldata` keyword to specify data locationmingchuan2018-05-3014-1/+79
|/
* Merge pull request #4067 from ethereum/050chriseth2018-05-2410-9/+128
|\
| * Update control flow graph.Daniel Kirchner2018-05-172-7/+19
| * Disallow conversions between bytesX and uintY of different size.Daniel Kirchner2018-05-177-2/+56
| * Add syntax tests and Changelog entryLeonardo Alt2018-05-171-0/+53
* | Move more parser tests to syntax testsAlex Beregszaszi2018-05-2254-0/+458
|/
* Split warning for multi arguments for hash functionsAlex Beregszaszi2018-05-167-18/+36
* Add test for single non-bytes argument.chriseth2018-05-161-0/+12
* Adjust tests.chriseth2018-05-1611-10/+28
* Merge pull request #4145 from ethereum/more-parser-test-moveschriseth2018-05-1611-0/+102
|\
| * Move couple of parser tests to syntax tests.Alex Beregszaszi2018-05-1611-0/+102
* | Add tests for multi variable declaration statement.chriseth2018-05-168-0/+80
|/
* ABI encoding functions are pure and should be usable in constants.chriseth2018-05-151-0/+7
* Add test for default location.Daniel Kirchner2018-05-151-0/+19
* Add control flow analyzer and test for uninitialized storage returns.Daniel Kirchner2018-05-1522-0/+375
* Replace constant with view in the tests.Daniel Kirchner2018-05-0910-4/+85
* Update test expectations.Daniel Kirchner2018-05-0930-56/+56
* Merge pull request #4054 from ethereum/token-nameschriseth2018-05-0916-16/+16
|\
| * Update parser test expectationsAlex Beregszaszi2018-05-0416-16/+16
* | New tests for wildcard assignments.chriseth2018-05-085-0/+66
* | Extract tests.chriseth2018-05-085-0/+47
* | Merge pull request #4063 from ethereum/emit-non-eventchriseth2018-05-041-0/+10
|\ \ | |/ |/|
| * Show proper error when trying to emit a non-eventAlex Beregszaszi2018-05-041-0/+10
* | Simplify expectIdentifierToken by using expectTokenAlex Beregszaszi2018-05-047-7/+7
|/
* Move some parser tests to syntax testsAlex Beregszaszi2018-05-0329-0/+183
* Add syntax tests for bytesMAlex Beregszaszi2018-04-305-0/+62
* Merge pull request #3981 from ethereum/years-suffixchriseth2018-04-246-0/+35
|\
| * The "year" denomination is deprecatedAlex Beregszaszi2018-04-233-0/+13
| * Add more denomination testsAlex Beregszaszi2018-04-232-0/+11
| * Extract subdenomination testsAlex Beregszaszi2018-04-232-0/+11
* | Merge pull request #3970 from elopio/test/docstring-tag-endAlex Beregszaszi2018-04-242-0/+6
|\ \
| * | docstring: add missing spaceLeo Arias2018-04-242-0/+6
* | | Merge pull request #3976 from ethereum/emptyTupleComponentchriseth2018-04-237-0/+78
|\ \ \ | |_|/ |/| |
| * | Treats inline array as an error.Erik Kundt2018-04-231-3/+1
| * | Turns it into warning (error for 0.5.0) and adds Changelog entry.Erik Kundt2018-04-238-15/+45
| * | Prevents null type from being used in tuple.Erik Kundt2018-04-225-0/+50
| |/
* | Turn deprecated warnings for sha3/suicide into errors (experimental 0.5.0)Alex Beregszaszi2018-04-212-1/+14
* | Extract syntax testsAlex Beregszaszi2018-04-211-0/+12
|/
* Update tight packing test casesAlex Beregszaszi2018-04-201-3/+14
* Make literals an error for tight packing (experimental 0.5.0)Alex Beregszaszi2018-04-201-0/+26
* Merge pull request #3941 from ethereum/bytes-contractchriseth2018-04-191-0/+7
|\
| * Disallow explicit conversion of bytesXX to contractAlex Beregszaszi2018-04-191-0/+7
* | Improve error message for failed member lookup.chriseth2018-04-193-0/+24
* | Extract tests.chriseth2018-04-191-0/+10
|/
* Warn about functions named "constructor".chriseth2018-04-191-0/+5
* Fix name clashes between constructor and fallback function.chriseth2018-04-183-1/+14
* Extract tests.chriseth2018-04-1825-0/+197
* Merge pull request #3793 from ethereum/rationalNumberLimitchriseth2018-04-168-0/+113
|\
| * Limits rational numbers to 4096 bits.Erik Kundt2018-04-168-0/+113
* | Merge pull request #3875 from ethereum/constructorSelfRefchriseth2018-04-143-0/+50
|\ \ | |/ |/|
| * Stricter check for member access to "this" in constructor.Daniel Kirchner2018-04-133-0/+50
* | Merge pull request #2980 from ethereum/abi-apichriseth2018-04-139-5/+148
|\ \
| * | Allow struct encoding with new encoder.chriseth2018-04-124-5/+55
| * | Check partial function parameters if rest is arbitrary.chriseth2018-04-121-0/+13
| * | Tests for view and pure.chriseth2018-04-122-0/+44
| * | Tests.chriseth2018-04-122-0/+36
* | | Add additional test for ``var`` for storage variables.Daniel Kirchner2018-04-123-7/+36
* | | Fix internal compiler error when parsing ``var`` declaration without identifier.Daniel Kirchner2018-04-122-0/+26
| |/ |/|
* | Merge pull request #3848 from ethereum/constantDivisionByZerochriseth2018-04-1212-0/+92
|\ \ | |/ |/|
| * Add test to check ConstantEvaluator for pure non-rational functions.Daniel Kirchner2018-04-121-0/+11
| * Add tests for literal operations as well.Daniel Kirchner2018-04-124-0/+20
| * Error on invalid arithmetic with constant expressions.Daniel Kirchner2018-04-127-0/+61
* | Properly cope with constructor headers.chriseth2018-04-122-0/+15
* | Update expectations.chriseth2018-04-1210-17/+18
* | Extract modifier tests.chriseth2018-04-1214-0/+73
* | Warn if modifiers are applied to functions without implementation.chriseth2018-04-122-0/+23
* | New tests for function state variables.chriseth2018-04-126-0/+61
* | Add expectations.chriseth2018-04-1224-9/+53
* | Extract function type tests.chriseth2018-04-1225-0/+132
|/
* Fix ConstantEvaluator to correctly handle single element tuples.Daniel Kirchner2018-04-123-0/+35
* Syntax Tests: extract array_length_* tests.Daniel Kirchner2018-04-1219-0/+117
* Fix line numbers for errors.chriseth2018-04-112-512/+512
* Merge pull request #3309 from ethereum/limit-errorschriseth2018-04-112-0/+1048
|\
| * Limit the number of errors output in a single run to 256Alex Beregszaszi2018-04-062-0/+1048
* | Fix bug in typechecking when comparing rational literalsJason Cobb2018-04-111-0/+7
* | Add source locations to syntax test expectations.Daniel Kirchner2018-04-1050-78/+77
* | Error when using no parentheses in modifier-style constructor calls.Daniel Kirchner2018-04-102-2/+5
* | Move constructor argument override check to TypeChecker and reuse annotations...Daniel Kirchner2018-04-098-7/+19
* | Allow duplicated constructor calls, if no arguments; support for multiple inh...Daniel Kirchner2018-04-098-5/+38
* | Error on duplicated super constructor callsFederico Bond2018-04-092-0/+8
|/
* Merge pull request #3824 from ethereum/baseArgumentsEmptyParenthesisDaniel Kirchner2018-04-053-1/+16
|\
| * Error when using empty parenthesis for base class constructors that require a...Daniel Kirchner2018-04-053-1/+16
* | Merge pull request #3745 from ethereum/fixRecursionAlex Beregszaszi2018-04-0513-0/+115
|\ \
| * | Extract constant cycle tests.chriseth2018-04-034-0/+32
| * | Fix detection of recursive structs.chriseth2018-04-032-0/+30
| * | Extract recursive struct tests.chriseth2018-04-037-0/+53
* | | Merge pull request #3808 from ethereum/parserTestschriseth2018-04-042-0/+9
|\ \ \ | |_|/ |/| |
| * | Adds parsing sub-directory in syntaxTests and moves two example tests from So...Daniel Kirchner2018-04-042-0/+9
| |/
* / Constructors are defined using the ``constructor`` keyword.Daniel Kirchner2018-04-042-3/+3
|/
* Merge pull request #3699 from ethereum/interfaceExternalVisibilityAlex Beregszaszi2018-04-037-0/+39
|\
| * Makes visibility warning more concise.Erik Kundt2018-04-031-1/+1
| * Moves all interface function visibility related tests.Erik Kundt2018-04-035-0/+26
| * Defaults to external visibility for interfaces.bitshift2018-04-032-0/+13
* | Fix: Treat empty base constructor argument list as not provided.chriseth2018-04-032-0/+16
* | Update tests for empty structsAlex Beregszaszi2018-03-312-0/+2
* | Merge pull request #3790 from ethereum/empty-structschriseth2018-03-302-0/+11
|\ \
| * | Still allow empty structs for non-0.5.0 modeAlex Beregszaszi2018-03-272-1/+7
| * | Disallow empty structsAlex Beregszaszi2018-03-271-0/+5
| |/
* / Prevent encoding of weird types and support packed encoding of external funct...chriseth2018-03-295-0/+62
|/
* Extract scoping tests.chriseth2018-03-1616-0/+130
* Merge branch 'develop' into externalFunctionsInLibrarieschriseth2018-03-152-0/+20
|\
| * Merge pull request #3722 from ethereum/fixModsAlex Beregszaszi2018-03-151-0/+14
| |\
| | * Changelog entry.chriseth2018-03-131-0/+14
| * | DocStringParser: Add Changelog entry and test case for empty descriptions.Daniel Kirchner2018-03-141-0/+6
| |/
* / Make external library functions accessible.chriseth2018-03-141-0/+14
|/
* Infrastructure for extracting syntax tests in separate test files.Daniel Kirchner2018-03-134-0/+31