aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |
| * 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
|\ \ | | | | | | Disallow empty structs
| * | 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 ↵chriseth2018-03-295-0/+62
|/ | | | function types.
* 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
| |\ | | | | | | Fix modifier lookup in libraries.
| | * 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