aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
Commit message (Collapse)AuthorAgeFilesLines
* Disallow ambiguous conversions between number literals and bytesXX types.Daniel Kirchner2018-08-1314-17/+200
|
* Merge pull request #4684 from ethereum/underscores_in_numeric_literalschriseth2018-08-096-0/+72
|\ | | | | [BREAKING] Underscores in numeric literals
| * Cleanup & polish numbers-with-underscores parsing, also improving tests.Christian Parpart2018-08-086-0/+72
| |
* | Provide nicer error message when referencing overloaded referencesAlex Beregszaszi2018-08-081-0/+11
| |
* | Merge pull request #4740 from ethereum/enforceNumberOfReturnValueschriseth2018-08-089-28/+87
|\ \ | | | | | | Disallow empty return in function with return arguments.
| * | Add back lost test case to a more reasonable location.Daniel Kirchner2018-08-081-0/+3
| | |
| * | Update and extend tests for return expressions.Daniel Kirchner2018-08-088-28/+84
| |/
* / Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵Daniel Kirchner2018-08-083-20/+11
|/ | | | assignments.
* Merge pull request #4731 from ethereum/interface-enumchriseth2018-08-076-1/+48
|\ | | | | Allow enums in interfaces
| * Add more syntax tests for enums and interfaces/librariesAlex Beregszaszi2018-08-075-0/+48
| |
| * Allow enums in interfacesAlex Beregszaszi2018-08-071-1/+0
| |
* | More precise error message if using non-variables with _slot/_offsetAlex Beregszaszi2018-08-071-1/+1
| |
* | Properly handle invalid references used together with _slot and _offset.Alex Beregszaszi2018-08-071-0/+9
|/
* Do not crash on using _slot and _offset suffixes on their ownAlex Beregszaszi2018-08-072-0/+18
|
* Merge pull request #4689 from ethereum/cleanup-050-testschriseth2018-08-0623-106/+11
|\ | | | | Cleanup 0.5.0 test cases
| * Cleanup 0.5.0 test casesAlex Beregszaszi2018-08-0623-106/+11
| |
* | Merge pull request #4671 from ethereum/mappingTupleAssignmentchriseth2018-08-067-12/+77
|\ \ | |/ |/| Disallow assignments to mappings within tuple assignments; allow for local variables.
| * Allow assignments to local variables of mapping types.Daniel Kirchner2018-08-034-4/+35
| |
| * Disallow assignments to mappings within tuple assignments.Daniel Kirchner2018-08-034-12/+46
| |
* | Merge pull request #4644 from ethereum/event_struct_errorchriseth2018-08-067-0/+27
|\ \ | | | | | | Disallow structs in events without ABIEncoderV2
| * | Disallow structs in events without ABIEncoderV2Leonardo Alt2018-08-037-0/+27
| |/
* | Merge pull request #4681 from ethereum/var-suggestion-crashchriseth2018-08-061-0/+12
|\ \ | | | | | | Fix declaration suggestion for var with different number of components
| * | Fix declaration suggestion for var with different number of componentsAlex Beregszaszi2018-08-041-0/+12
| |/
* | Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLooseChristian Parpart2018-08-0414-63/+13
|\ \ | |/ |/| [BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
| * Update tests to remove support for loose assemblyChristian Parpart2018-08-027-22/+8
| |
| * Disallow loos assembly in Solidity by permanently setting it to SyntaxError ↵Christian Parpart2018-08-0212-47/+11
| | | | | | | | (from Warning)
* | Turn warning about uninitialized storage returns into an error.Daniel Kirchner2018-08-0320-177/+177
|/
* Merge pull request #4399 from ethereum/contractWhitespaceAlex Beregszaszi2018-08-029-14/+14
|\ | | | | Remove trailing whitespace in all contract files.
| * Remove trailing whitespace in all contract files.Daniel Kirchner2018-08-029-14/+14
| |
* | Add additional test cases.Daniel Kirchner2018-08-012-0/+10
| |
* | Do not exclude public state variables when looking for conflicting declarations.Daniel Kirchner2018-08-014-0/+27
|/
* Merge pull request #4378 from ethereum/noBaseWithoutArgumentsAlex Beregszaszi2018-08-012-1/+10
|\ | | | | [BREAKING] Disallow calling base constructors without arguments.
| * Correctly determine whether base constructor is called without parentheses.chriseth2018-08-011-0/+9
| |
| * Disallow calling base constructors without arguments.chriseth2018-08-011-1/+1
| |
* | Adds positive/negative tests for checking error on cyclic dependency checker ↵Christian Parpart2018-08-014-0/+791
|/ | | | exhaustion
* Fix tests regarding contract type conversion.chriseth2018-08-011-1/+2
|
* Disallow conversion between unrelated contract types.chriseth2018-08-0110-5/+69
|
* Merge pull request #4507 from ethereum/v050-var-keyword-trace-removalsAlex Beregszaszi2018-08-015-0/+40
|\ | | | | Ensures an empty use of var keyword is caught with the proper non-fatal error message
| * Ensures an empty use of var keyword is caught with the proper error message.Christian Parpart2018-08-015-0/+40
| |
* | Merge pull request #4625 from ethereum/pragma-cleanupAlex Beregszaszi2018-07-315-16/+10
|\ \ | | | | | | Remove unnecessary or stray version pragmas
| * | Remove unnecesary version pragma from some syntax testsAlex Beregszaszi2018-07-315-16/+10
| | |
* | | Fix crash when FunctionType has undeclared type as parameterLeonardo Alt2018-07-317-11/+36
|/ /
* | Merge pull request #4556 from ethereum/library-data-locationsAlex Beregszaszi2018-07-266-0/+22
|\ \ | | | | | | Add tests for data locations within libraries
| * | Add tests for data locations within librariesAlex Beregszaszi2018-07-256-0/+22
| | |
* | | Merge pull request #4562 from ethereum/parser-testsAlex Beregszaszi2018-07-2512-0/+61
|\ \ \ | | | | | | | | Add comprehensive tests for the parser
| * | | Add syntax tests for import statementsAlex Beregszaszi2018-07-255-0/+15
| | | |
| * | | Add syntax test for illegal pragma keyAlex Beregszaszi2018-07-251-0/+4
| | | |
| * | | Add syntax test for location specifier redeclarationsAlex Beregszaszi2018-07-253-0/+23
| | | |
| * | | Add syntax test for empty emit statementAlex Beregszaszi2018-07-251-0/+7
| | | |
| * | | Add syntax tests for assembly block type (evmasm)Alex Beregszaszi2018-07-252-0/+12
| |/ /
* | | Add more tests for inlineasm/AsmAnalyzerAlex Beregszaszi2018-07-255-0/+60
| | |
* | | Add more comprehensive tests for embedded inline assembly LValue/RValue accessAlex Beregszaszi2018-07-257-0/+74
|/ /
* | Add comprehensive syntax tests for indexed accessAlex Beregszaszi2018-07-256-0/+46
| |
* | Add syntax tests for unknown / invalid pragmaAlex Beregszaszi2018-07-252-0/+6
| |
* | Merge pull request #4527 from ethereum/mappingEnforceStorageAlex Beregszaszi2018-07-248-9/+36
|\ \ | | | | | | Enforces explicit data location for mappings
| * | Enforces data location of local mappings to storage.Erik Kundt2018-07-248-9/+36
| | |
* | | Disallow functions without implementation to use modifiers. This was already ↵Christian Parpart2018-07-242-3/+3
| |/ |/| | | | | the case in the experimental 0.5.0 mode.
* | Merge pull request #4439 from ethereum/address_memberschriseth2018-07-1924-118/+19
|\ \ | | | | | | [BREAKING] Enforce address members not accessible by contract instance
| * | Changes in ExpressionCompilerLeonardo Alt2018-07-191-0/+6
| | |
| * | Removing tests that are not useful anymoreLeonardo Alt2018-07-183-43/+0
| | |
| * | Add suggestion to error messageLeonardo Alt2018-07-1712-12/+12
| | |
| * | Address members not accessible by contract instanceLeonardo Alt2018-07-1723-78/+16
| | |
* | | Adds warning if function is shadowing a contract.Erik Kundt2018-07-182-5/+10
| | |
* | | Adjusts syntax tests to new constructor syntax.Erik Kundt2018-07-1829-116/+3
| |/ |/|
* | Adds comment about reasoning behind syntax test.Erik Kundt2018-07-181-3/+5
| |
* | Removes obsolete syntax tests.Erik Kundt2018-07-182-10/+0
| |
* | Suggests external for fallback and interface functions.chriseth2018-07-187-6/+16
| |
* | Adjusts tests to expect type errors on default visibility.Erik Kundt2018-07-186-15/+4
|/
* Add missing period in the end of error messagesLeonardo Alt2018-07-1633-33/+33
|
* Merge pull request #4481 from ethereum/disallow-throwchriseth2018-07-163-18/+1
|\ | | | | [BREAKING] Deprecate the throw statement
| * Deprecate the throw statementAlex Beregszaszi2018-07-163-18/+1
| |
* | Specifies visibility in syntax test.Erik Kundt2018-07-161-3/+3
|/
* enforce interface-functions to be external-declaredChristian Parpart2018-07-169-14/+10
| | | | | | | | - libsolidity: Enforce interface-functions must be external-declared. - Changelog adapted to reflect changes wrt. functions in interfaces. - test: Adjustments according to prior interface-function changes. - tests: Adapting SolidityEndToEndTest to interface-function change. - docs: Adapted documentation to interface-function change.
* Merge pull request #4501 from ethereum/recursiveStructsWithFixedArrayschriseth2018-07-1312-0/+139
|\ | | | | Consider fixed-size arrays when checking for recursive structs.
| * Add test cases.Daniel Kirchner2018-07-1312-0/+139
| |
* | Update tests.Daniel Kirchner2018-07-1321-100/+155
|/
* Merge pull request #4437 from ethereum/report-empty-var-declschriseth2018-07-133-0/+22
|\ | | | | [BREAKING] Report empty var tuple decls
| * Generates a syntax error when declaring a variable declaration's LHS has no ↵Christian Parpart2018-07-123-0/+22
| | | | | | | | named components
* | Update test wrt requiring storage locations.Daniel Kirchner2018-07-129-40/+25
|/
* Added default data locations to parameters for syntax tests.Chase McDermott2018-07-1238-83/+83
|
* Merge pull request #4443 from ethereum/double_var_decl_fixchriseth2018-07-123-0/+34
|\ | | | | Fix crash when declaring the same var twice in the same scope
| * Fix crash for double variable declaration in the same scope.Leonardo Alt2018-07-113-0/+34
| |
* | Merge pull request #4480 from ethereum/fixZeroWithExponentchriseth2018-07-122-23/+29
|\ \ | | | | | | Fix literals with exponents with mantissa of zero.
| * | Split test case into failing and succeeding case.Daniel Kirchner2018-07-112-24/+29
| | |
| * | Fix literals with exponents with mantissa of zero.Daniel Kirchner2018-07-111-0/+1
| | |
* | | Merge pull request #4404 from ethereum/v050-var-keyword-suggestChristian Parpart2018-07-111-0/+23
|\ \ \ | |/ / |/| | [WIP] v0.5.0 var keyword type suggestion
| * | semantics: Suggest auto-deduced type when user declares variable with `var` ↵Christian Parpart2018-07-111-0/+23
| | | | | | | | | | | | keyword.
* | | Merge pull request #4454 from ethereum/constructorArgCountchriseth2018-07-114-12/+3
|\ \ \ | | | | | | | | [BREAKING] Wrong argument count in constructor call
| * | | Cleans up syntax test.Erik Kundt2018-07-111-4/+1
| | | |
| * | | Improves error with suggestion to remove parantheses.Erik Kundt2018-07-113-3/+6
| | | |
| * | | Updates Changelog, syntax test and simplifies type checker.Erik Kundt2018-07-111-7/+1
| | | |
| * | | Turns wrong argument count in base constructor call into en error.Erik Kundt2018-07-112-10/+7
| |/ /
* | | Merge pull request #4388 from ethereum/noPackedLiteralschriseth2018-07-112-10/+1
|\ \ \ | | | | | | | | Disallow packed encoding of literals.
| * | | Disallow packed encoding of literals.chriseth2018-07-032-10/+1
| | | |
* | | | test: Fix typos.Cryptomental2018-07-111-2/+2
| |/ / |/| | | | | | | | | | | | | | Fix typos using codespell. Refs: #4442
* | | Merge pull request #4376 from ethereum/fallbackExternalchriseth2018-07-1110-26/+7
|\ \ \ | | | | | | | | Fallback functions have to be external
| * | | Update tests.chriseth2018-07-0410-26/+7
| | | |
* | | | Merge pull request #4464 from ↵chriseth2018-07-111-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker AsmParser,TypeChecker: Fix typos.
| * | | | libsolidity/syntaxTests: Add a test case for unwanted named arguments.Cryptomental2018-07-101-0/+7
| | | | | | | | | | | | | | | | | | | | Refs: #4442
* | | | | Merge pull request #4466 from ethereum/tupleNotEmptychriseth2018-07-117-37/+23
|\ \ \ \ \ | |_|_|_|/ |/| | | | Disallow empty tuple components.
| * | | | Update tests.Daniel Kirchner2018-07-107-37/+23
| | | | |
* | | | | defaulting to v0.5.0 behaviour of unary + operator (disallow); also adapting ↵Christian Parpart2018-07-104-21/+2
| | | | | | | | | | | | | | | | | | | | all tests to it
* | | | | Merge pull request #4415 from ethereum/uninitializedStoragePointerchriseth2018-07-108-35/+20
|\ \ \ \ \ | |/ / / / |/| | | | [BREAKING] Turn uninitialized storage variables into error.
| * | | | Update tests.Daniel Kirchner2018-07-108-35/+20
| |/ / /
* / / / Update tests.Daniel Kirchner2018-07-106-23/+15
|/ / /
* | | Merge pull request #4440 from ethereum/hex_denomination_enforce_errorchriseth2018-07-092-7/+1
|\ \ \ | | | | | | | | [BREAKING] Enforce error on hex combined with denomination
| * | | 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
|\ \ \ \ | |/ / / |/| | | Specify default visibility in syntax tests (pt. 2)
| * | | 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.
| * | | 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
|\ \ \ | | | | | | | | Enforce state mutability in view pure checker.
| * | | 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.
| * | 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 tests to new constructor syntax
| * 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
|\ \ | |/ |/| Fixes storage ref var typo error from 'prefix' to 'suffix'
| * 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
|\ \ | | | | | | [BREAKING] call only takes a single argument and does not pad
| * | 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 ↵Alex Beregszaszi2018-06-254-4/+4
| | | | | | | | address related warnings
* | 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
|\ | | | | [BREAKING] C99 scoping rules by default (remove 050 workaround)
| * C99 scoping rules by defaultLeonardo Alt2018-06-2024-85/+29
| |
* | Merge pull request #4219 from ethereum/functionTypeNamedArgumentsAlex Beregszaszi2018-06-213-7/+6
|\ \ | |/ |/| Turn named return parameters in function types into an error.
| * 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
| | | | | | | | This patch enfoces an error when it encounters an empty struct, effectively eliminating the deprecation warning. Also adjust 419_interface_structs to explicitely test for (non-empty) structs, as this behaviour "may" change in the future.
* 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 error
| * 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
|\ | | | | [BREAKING] Disallow trailing dot not followed by number
| * 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
|\ \ | |/ |/| pop() for storage arrays
| * Adds syntax tests, documentation and changelog entry.Erik Kundt2018-05-3029-0/+54
| | | | | | | | Refines comment for array utility function.
* | Allow using `calldata` keyword to specify data locationmingchuan2018-05-3014-1/+79
|/
* Merge pull request #4067 from ethereum/050chriseth2018-05-2410-9/+128
|\ | | | | [BREAKING] Version 0.5.0
| * 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.
| * 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
|\ | | | | Improve parser error messages
| * 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-event
| * 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 deprecated
| * 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 space
| * | docstring: add missing spaceLeo Arias2018-04-242-0/+6
| | |
* | | Merge pull request #3976 from ethereum/emptyTupleComponentchriseth2018-04-237-0/+78
|\ \ \ | |_|/ |/| | Empty tuple components should not be possible
| * | 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 contract
| * 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
|\ | | | | Rational number limit
| * 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 "this" in constructor.
| * 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
|\ \ | | | | | | Add abi.encode and abi.encodePacked
| * | 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
|\ \ | |/ |/| Error on invalid arithmetic with constant expressions.
| * 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 256
| * 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 ↵Daniel Kirchner2018-04-098-7/+19
| | | | | | | | annotations in ContractCompiler.
* | Allow duplicated constructor calls, if no arguments; support for multiple ↵Daniel Kirchner2018-04-098-5/+38
| | | | | | | | | | | | inheritance; backwards compatibility. # tmp
* | 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 parentheses for base class constructors that r…
| * Error when using empty parenthesis for base class constructors that require ↵Daniel Kirchner2018-04-053-1/+16
| | | | | | | | arguments.
* | Merge pull request #3745 from ethereum/fixRecursionAlex Beregszaszi2018-04-0513-0/+115
|\ \ | | | | | | Fix invalid recursion errors for structs
| * | 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
|\ \ \ | |_|/ |/| | SyntaxTests: extend syntax tests and isoltest to support parser error…
| * | Adds parsing sub-directory in syntaxTests and moves two example tests from ↵Daniel Kirchner2018-04-042-0/+9
| |/ | | | | | | SolidityParser.cpp to test contracts.
* / 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
|\ | | | | Defaults to external visibility for interfaces.
| * Makes visibility warning more concise.Erik Kundt2018-04-031-1/+1
| |
| * Moves all interface function visibility related tests.Erik Kundt2018-04-035-0/+26
| |