aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [SMTChecker] Inline calls to internal functionsLeonardo Alt2018-10-1522-7/+290
|
* Merge pull request #5221 from ethereum/splitRenamingLeftoverschriseth2018-10-151-1/+1
|\ | | | | Some renaming leftovers.
| * Some renaming leftovers.chriseth2018-10-151-1/+1
| |
* | Merge pull request #5208 from mestorlx/bug4156chriseth2018-10-153-0/+43
|\ \ | |/ |/| [WIP] Bad identifier suggestion in certain cases
| * Updated MAXIMUM_STRING_DISTANCE to non static maximumStringDistance taking ↵mestorlx2018-10-133-0/+43
| | | | | | | | into account length of the identifier
* | Renaming namespace dev::julia to dev::yul.Christian Parpart2018-10-157-13/+13
| |
* | Renaming libjulia to libyulChristian Parpart2018-10-15119-30/+30
| |
* | Merge pull request #5149 from ethereum/fix_assertion_on_inval_tuple_callchriseth2018-10-152-0/+16
|\ \ | | | | | | Fixes invalid function calls to literals inside tuple assignment's LHS.
| * | Fixes invalid function calls to literals inside tuple assignment's LHS.Christian Parpart2018-10-152-0/+16
| |/
* / Also substitute variables in CSE.chriseth2018-10-121-0/+27
|/
* Merge pull request #5127 from ethereum/exprUnbreakerchriseth2018-10-1217-0/+236
|\ | | | | [Yul] Expression joiner.
| * Expression joiner.chriseth2018-10-1217-0/+236
| |
* | Merge pull request #5206 from ethereum/splitConstantsToochriseth2018-10-124-33/+56
|\ \ | | | | | | [Yul] Split constants too
| * | Also split constants.chriseth2018-10-124-33/+56
| |/
* | Merge pull request #5145 from ethereum/hashLinkerchriseth2018-10-122-1/+19
|\ \ | |/ |/| Hash linker
| * Change library placeholder to `__$<hash>$__`.chriseth2018-10-121-1/+1
| |
| * Use hash for library placeholders.chriseth2018-10-122-1/+19
| |
* | Move unused pruner tests.chriseth2018-10-1212-129/+113
| |
* | Move expression simplifier tests.chriseth2018-10-1218-178/+158
| |
* | Move rematerialiser tests.chriseth2018-10-1219-179/+292
| |
* | Move main function tests.chriseth2018-10-127-87/+117
| |
* | Move tests for full inliner.chriseth2018-10-129-175/+205
| |
* | Move expression inliner tests.chriseth2018-10-129-95/+124
| |
* | Move function hoister tests.chriseth2018-10-127-85/+97
| |
* | Move function grouper tests.chriseth2018-10-127-85/+102
| |
* | Move expression splitter tests.chriseth2018-10-127-156/+106
| |
* | Move common subexpression eliminator tests.chriseth2018-10-128-102/+81
|/
* Remove old disambiguator test.chriseth2018-10-111-105/+0
|
* Disambiguator tests.chriseth2018-10-119-0/+159
|
* Add Yul optimizer test framework.chriseth2018-10-116-2/+266
|
* Combine test path discovery.chriseth2018-10-115-41/+93
|
* Extract test suite runs.chriseth2018-10-111-36/+39
|
* Extract function.chriseth2018-10-111-19/+25
|
* Adds syntax tests for array index access.Erik Kundt2018-10-115-0/+31
|
* Merge pull request #5195 from ethereum/unsigned-array-indexchriseth2018-10-114-0/+40
|\ | | | | Do not crash on non-unsigned array index
| * Fixes crash on non-unsigned array index.Erik Kundt2018-10-114-0/+40
| |
* | Improved error message for lookup in function types.Martin Diz2018-10-105-0/+85
| |
* | Merge pull request #5186 from ethereum/renameBreakerchriseth2018-10-101-3/+3
|\ \ | | | | | | Rename ExpressionBreaker to ExpressionSplitter.
| * | Rename ExpressionBreaker to ExpressionSplitter.chriseth2018-10-101-3/+3
| | |
* | | Merge pull request #5134 from ethereum/fuzzer-input-filechriseth2018-10-101-11/+27
|\ \ \ | |/ / |/| | solfuzzer: adds --input-file=FILENAME command line argument (defaulting to stdin)
| * | adds --input-file=FILENAME to solfuzzerChristian Parpart2018-10-101-11/+27
| | |
* | | Merge pull request #5184 from ethereum/viewFunctionDocschriseth2018-10-101-0/+25
|\ \ \ | |_|/ |/| | Library view functions
| * | Documents library view functions and adds unit test.Erik Kundt2018-10-101-0/+25
| | |
* | | Merge pull request #5180 from ethereum/cpp-cleanupchriseth2018-10-104-5/+3
|\ \ \ | |_|/ |/| | Some C++ cleanup
| * | Do not require ctype/stdio if not neededAlex Beregszaszi2018-10-102-2/+0
| | |
| * | Use nullptr instead of NULL where appropriateAlex Beregszaszi2018-10-102-3/+3
| | |
* | | Merge pull request #5076 from ethereum/exprBreakerchriseth2018-10-092-0/+253
|\ \ \ | | | | | | | | [Yul] Expression breaker.
| * | | Expression breaker.chriseth2018-10-092-0/+253
| | | |
* | | | Fixes large rational number literals being wrongly interpreted.Christian Parpart2018-10-092-0/+18
|/ / / | | | | | | | | | Fixes #5052.
* | | Merge pull request #5124 from lazaridiscom/1802-hex-error-reportingchriseth2018-10-091-4/+8
|\ \ \ | | | | | | | | use Token type for hex error, draft re #1802
| * | | provide general hex-literal error message, fixes #1802Lazaridis2018-10-091-4/+8
| |/ / | | | | | | | | | dummy
* / / Fix commandline tests for release version.chriseth2018-10-097-9/+4
|/ /
* | Fix ast json test for function kind.chriseth2018-10-092-1/+2
| |
* | Merge pull request #4734 from ethereum/astUpdatechriseth2018-10-0929-10/+571
|\ \ | |/ |/| JSON AST: replace ``isConstructor`` by ``kind`` which also supports fallbacks
| * Restore ``isConstructor`` in the legacy AST.Daniel Kirchner2018-09-1113-0/+13
| |
| * Add new test cases.Daniel Kirchner2018-09-119-0/+548
| |
| * Replace ``isConstructor`` field in the JSON AST by a ``kind`` field.Daniel Kirchner2018-09-1120-20/+20
| |
* | soltest: provides sane defaults for --testpath command line optionChristian Parpart2018-10-081-0/+23
| |
* | Fix typos.chriseth2018-10-041-1/+1
| |
* | Fixes #5051 (introduced in #4684), effectively allowing underscores in ↵Christian Parpart2018-10-021-0/+1
| | | | | | | | address literals.
* | Merge pull request #5104 from ethereum/fuzzerchriseth2018-10-011-45/+26
|\ \ | | | | | | Do not use compileJSON wrapper in the fuzzer
| * | Do not use compileJSON wrapper in the fuzzerAlex Beregszaszi2018-09-291-45/+26
| | |
* | | Merge pull request #5115 from mestorlx/cleancirclecichriseth2018-10-011-2/+8
|\ \ \ | | | | | | | | removed stray (B in CI test output
| * | | removed stray (B in CI test outputMartin Diz2018-09-291-2/+8
| | | |
* | | | Merge pull request #5075 from ethereum/fixInlinerchriseth2018-10-011-0/+35
|\ \ \ \ | |_|/ / |/| | | [Yul] Fix inliner
| * | | Fix for inlining inside conditions.chriseth2018-10-011-30/+30
| | | |
| * | | Tests for inlining inside condition.chriseth2018-09-251-0/+35
| | | |
* | | | Merge pull request #4676 from jwasinger/extcodehashAlex Beregszaszi2018-09-282-0/+17
|\ \ \ \ | | | | | | | | | | Add support for EXTCODEHASH
| * | | | Add LLL tests for EXTCODEHASHAlex Beregszaszi2018-09-261-0/+4
| | | | |
| * | | | Add test for extcodehashAlex Beregszaszi2018-09-261-0/+13
| | | | |
* | | | | Be more strict about values in the optimizer block in StandardJSONAlex Beregszaszi2018-09-261-0/+65
|/ / / /
* | | | Merge pull request #5061 from ethereum/fixedSizeArrayLengthchriseth2018-09-264-2/+32
|\ \ \ \ | | | | | | | | | | Disallow fixed-size arrays with zero length
| * | | | Moves length check to reference resolver.Erik Kundt2018-09-225-8/+32
| | | | |
| * | | | Disallows fixed-size multidim. arrays with zero-length.Erik Kundt2018-09-221-0/+6
| | | | |
* | | | | CREATE2 is part of Constantinople nowAlex Beregszaszi2018-09-261-5/+7
| | | | | | | | | | | | | | | | | | | | Also add hasCreate2 to EVMVersion
* | | | | Better regex for finding version pragmas and replace it with >=0.0Alex Beregszaszi2018-09-262-2/+2
| | | | | | | | | | | | | | | | | | | | There is a bug which stops ^0 from working.
* | | | | Automatically replace version pragmas in compilation testsAlex Beregszaszi2018-09-261-0/+2
| | | | |
* | | | | Require 0.5.0 in contract testsAlex Beregszaszi2018-09-263-3/+3
| | | | |
* | | | | Turn on patch to replace version pragmas for ZeppelinAlex Beregszaszi2018-09-261-2/+2
| |/ / / |/| | | | | | | | | | | An also replace every single one of them with ^0
* | | | Merge pull request #5034 from liangdzou/fix_test_format_issuechriseth2018-09-251-2/+4
|\ \ \ \ | |_|/ / |/| | | fix format issue for test files to enable the format checker in PR #5027
| * | | fix format issue for test filesliangdzou2018-09-241-2/+4
| |/ /
* | | Merge pull request #5003 from herrBez/cleanUpdatedchriseth2018-09-2412-0/+106
|\ \ \ | | | | | | | | Add syntax tests to fix #4627
| * | | Add syntax tests to augment the test coverage ofherrBez2018-09-2112-0/+106
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libsolidity/parsing/Scanner.cpp and libsolidity/parsing/Scanner.h Fix #4627 and PR #5003. - Add multiline comment test - Add upper case hex literal test - Add test for unicode escapes - Add test for strings with escaped newlines - Add test for string escapes - Add test for strings that do not terminate before end of file - Add test for unterminated blocks
* | | Merge pull request #5050 from ethereum/standard-json-crashesAlex Beregszaszi2018-09-211-1/+1
|\ \ \ | | | | | | | | Add proper error reporting when invalid settings are provided in StandardJSON
| * | | Add proper error reporting when invalid settings are provided in StandardJSONAlex Beregszaszi2018-09-211-1/+1
| |/ /
* | | Merge pull request #5030 from ethereum/payableConversionchriseth2018-09-216-0/+40
|\ \ \ | | | | | | | | Make non-payable default for conversion to address.
| * | | Make non-payable default for conversion to address.chriseth2018-09-206-0/+40
| |/ /
* / / Disallow uppercase X in hex number literalshydai2018-09-191-0/+5
|/ /
* | Merge pull request #4999 from liangdzou/fix_typochriseth2018-09-172-3/+3
|\ \ | | | | | | fix some code format problems
| * | fix some format typosliangdzou2018-09-172-3/+3
| | |
* | | Merge pull request #4984 from elopio/add-missing-inliner-testchriseth2018-09-171-0/+3
|\ \ \ | |/ / |/| | Add a missing tests for yul inliner optimization
| * | Add a missing tests for yul inliner optimizationLeo Arias2018-09-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the statement has two return values, the function is not inlinable. When the function has one statement but it is not an assignment to the return variable, the function is not inlinable. l
* | | Do not set to ref for explicit conversion and add assertion for arrayliangdzou2018-09-147-0/+67
|/ / | | | | | | type conversion. Also, add some test cases for #4901 and #4948.
* | Merge pull request #4968 from ethereum/alethUpdateCompatiblechriseth2018-09-142-31/+22
|\ \ | | | | | | Fix tests for newer versions of aleth.
| * | Disable blockhash test for constantinople due to changes between aleth versions.Daniel Kirchner2018-09-131-29/+20
| | |
| * | Use "pending", not "latest" during ``eth_call`` in ``sendMessage``.Daniel Kirchner2018-09-131-2/+2
| | |
* | | Merge pull request #4911 from ethereum/addressPayableDaniel Kirchner2018-09-1334-7/+1434
|\ \ \ | |/ / |/| | Payable and non-payable address type.
| * | Add ``stateMutability`` field to JSON AST for ``address`` types.Daniel Kirchner2018-09-133-0/+1171
| | |
| * | Add payable and non-payable state mutability to AddressType.Daniel Kirchner2018-09-1331-7/+263
| | |
* | | give more information (at most 35 chars before and after) for too long linesliangdzou2018-09-1313-2/+82
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add tests for giving more informations for too long lines add edge tests for giving more informations for too long lines avoid printing out tailing white space update test case after avoiding printing out trailing whitespace update test case for removing the pre-release warning from reference refactor the code to if-else flavor rename folder to cmdlineErrorReports under test rename folder to cmdlineErrorReports under test ignore whitespace for reference files avoiding to modify the file stderr_path by call sed without -i option print ' ...' instead of ' ... ' at the end of a line
* | Update test suite to use address payable.Daniel Kirchner2018-09-1226-67/+121
| |
* | Accept ``address payable`` during parsing.Daniel Kirchner2018-09-1119-1/+224
|/
* Update bug description, add regex and tests.chriseth2018-09-101-0/+34
|
* Tests.chriseth2018-09-101-0/+40
|
* Merge pull request #4912 from ethereum/fixNewlinechriseth2018-09-101-0/+106
|\ | | | | Fix bugs in comments.
| * Tests.chriseth2018-09-061-0/+98
| |
| * This fixes several bugs with regards to line breaks and comments:chriseth2018-09-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | - any unicode line break (line feed, vertical tab, form feed, carriage return, NEL, LS and PS) is considered to terminate a single-line comment. The line break itself is considered to be the next token after the comment, leading to a parser error if it is not an ascii character (i.e. for NEL, LS and PS). - unterminated multiline comments are considered illegal tokens - '/** /' is considered an unterminated multiline comment (previously, whitespace was allowed before the last '/'
* | Buglist check script supports json pathsLeonardo Alt2018-09-072-21/+155
|/
* Merge pull request #4872 from bakaoh/issue4716chriseth2018-09-061-0/+8
|\ | | | | Crash when array index value is too large
| * Fix #4716: Crash when array index value is too largebakaoh2018-09-051-0/+8
| |
* | Split IntegerType into IntegerType and AddressType.Daniel Kirchner2018-09-051-2/+2
| |
* | Merge pull request #4590 from ethereum/msgValueModifierchriseth2018-09-057-1/+39
|\ \ | | | | | | Warn if modifier uses msg.value in non-payable function
| * | Fix endToEnd testLeonardo Alt2018-09-041-0/+10
| | |
| * | Turn warning into error.chriseth2018-09-043-3/+3
| | |
| * | Warns if modifier uses msg.value in non-payable function.Erik Kundt2018-09-045-0/+28
| |/
* | Merge pull request #4895 from ethereum/abidecodesinglechriseth2018-09-052-0/+12
|\ \ | | | | | | Fix abi.decode returning single value.
| * | Fix abi.decode returning single value.chriseth2018-09-052-0/+12
| | |
* | | Merge pull request #4866 from bakaoh/issue4743chriseth2018-09-0538-45/+45
|\ \ \ | | | | | | | | Fix#4743: Incorrect source location for nameless parameters
| * | | Update test to correct source location for nameless parametersbakaoh2018-08-3138-45/+45
| | |/ | |/|
* | | Merge pull request #4880 from ethereum/fix_cmdlineTest_tmpdirchriseth2018-09-051-13/+13
|\ \ \ | |_|/ |/| | Rename TMPDIR to SOLTMPDIR in cmdlineTests
| * | mktemp might use variable TMPDIR. Renaming it in our script to avoid conflicts.Leonardo Alt2018-09-031-13/+13
| |/
* | Merge pull request #4888 from ↵chriseth2018-09-045-0/+58
|\ \ | | | | | | | | | | | | ethereum/disallow_single_statement_vardecl_if_while_for Disallow single statement var decl in if/while/for without blocks
| * | Changed error message and added testsLeonardo Alt2018-09-045-0/+58
| |/
* | Add another end-to-end test.Daniel Kirchner2018-09-041-0/+127
| |
* | Update compilation tests.Daniel Kirchner2018-09-044-16/+11
| |
* | Add return data to bare calls.Daniel Kirchner2018-09-0410-92/+212
| |
* | Remove trailing whitespace for all files in the repository.Daniel Kirchner2018-09-042-6/+6
|/
* Dynamic type as mapping key returns error instead of assertion failLeonardo Alt2018-08-166-0/+34
|
* Merge pull request #4822 from ethereum/addressStaticCallchriseth2018-08-163-1/+120
|\ | | | | Add ``staticcall`` to ``address``.
| * Add syntax test for ``address.staticcall.value``.Daniel Kirchner2018-08-151-0/+15
| |
| * Add view pure checker tests for ``address.staticcall(...)``.Daniel Kirchner2018-08-151-1/+20
| |
| * Add ``staticcall`` to ``address``.Daniel Kirchner2018-08-152-0/+85
| |
* | Review suggestionsLeonardo Alt2018-08-153-3/+3
| |
* | Add end to end testsLeonardo Alt2018-08-151-0/+203
| |
* | Disallow indexed reference types in events when using ABIEncoderV2Leonardo Alt2018-08-156-0/+41
|/
* Merge pull request #4390 from ethereum/abidecodechriseth2018-08-159-0/+264
|\ | | | | Add abi.decode
| * Add abi.decode(bytes data, (...))chriseth2018-08-159-0/+264
| |
* | Merge pull request #4583 from ethereum/nested_array_library_changelogchriseth2018-08-152-0/+114
|\ \ | | | | | | Bugfix Changelog entry regarding nested arrays returned by library functions
| * | Update bug list and add regular expression to bug list and add test.Leonardo Alt2018-08-142-0/+114
| | |
* | | Fixes #4718: High CPU usage when using large variable namesbakaoh2018-08-153-0/+15
| |/ |/|
* | Merge pull request #4738 from ethereum/dataloc_mergedchriseth2018-08-1580-126/+318
|\ \ | | | | | | Enforce data location.
| * | Update external tests.chriseth2018-08-159-23/+23
| | |
| * | Update tests.chriseth2018-08-1562-113/+179
| | |
| * | New test cases.mingchuan2018-08-1520-0/+126
| | |
| * | Update testsChase McDermott2018-08-158-39/+39
| | |
* | | Merge pull request #4542 from aarlt/constructor_natspecchriseth2018-08-151-0/+125
|\ \ \ | |/ / |/| | Fix: natspec annotations on constructors
| * | Fix: natspec annotations on constructorsAlexander Arlt2018-08-091-0/+125
| | | | | | | | | | | | - natspec annotations on constructore where ignored.
* | | Merge pull request #4765 from ethereum/fixes-issue-4673chriseth2018-08-141-0/+4
|\ \ \ | | | | | | | | [WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash).
| * | | Fixes issue where computing storage size for a number would take too long.Christian Parpart2018-08-141-0/+4
| | | | | | | | | | | | | | | | Fixes #4673.
* | | | Add implicit convertibility to function pointer with higher state mutabilityJesse Busman2018-08-144-0/+178
| | | |
* | | | Merge pull request #4788 from ethereum/noWarnDocchriseth2018-08-141-24/+49
|\ \ \ \ | | | | | | | | | | Test that documentation does not contain any warnings.
| * | | | Also extract tests that do not start with a pragma.chriseth2018-08-141-1/+9
| | | | |
| * | | | Test that documentation does not contain any warnings.chriseth2018-08-141-24/+41
| | |_|/ | |/| |
* | | | Merge pull request #4782 from ethereum/encodePackedArrayOfStructschriseth2018-08-142-0/+19
|\ \ \ \ | | | | | | | | | | Encode packed array of structs
| * | | | Tests.chriseth2018-08-102-0/+19
| | |/ / | |/| |
* | | | Adds support for structs in interfaces.Christian Parpart2018-08-142-3/+62
| |/ / |/| | | | | | | | Closes #4733.
* | | Replace safety stop by invalidLeonardo Alt2018-08-143-6/+6
| | |
* | | Merge pull request #4799 from ethereum/semanticsTestsGasEtAlchriseth2018-08-145-0/+122
|\ \ \ | | | | | | | | Semantics tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ``block.gaslimit``
| * | | Fix tests for constantinople (expect zero for the time being).Daniel Kirchner2018-08-141-9/+22
| | | |
| * | | Add missing tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ↵Daniel Kirchner2018-08-145-0/+109
| | | | | | | | | | | | | | | | ``block.gaslimit``.
* | | | Merge pull request #4777 from ethereum/typeConversionMemorychriseth2018-08-143-2/+7
|\ \ \ \ | |/ / / |/| | | Defaul data location for type conversions is memory.
| * | | Defaul data location for type conversions is memory.chriseth2018-08-133-2/+7
| | | |
* | | | Merge pull request #4798 from ethereum/mappingArgumentsAndReturnschriseth2018-08-1333-5/+428
|\ \ \ \ | | | | | | | | | | Mapping arguments and returns
| * | | | Add tests for mappings in function types.Daniel Kirchner2018-08-134-0/+20
| | | | |
| * | | | Allow mappings of arrays as arguments and return values of internal functions.Daniel Kirchner2018-08-1312-0/+100
| | | | |
| * | | | Consider mappings return values in control flow analysis.Daniel Kirchner2018-08-134-0/+20
| | | | |
| * | | | Allow mapping arguments and return values in all internal functions.Daniel Kirchner2018-08-134-9/+56
| | | | |
| * | | | Allow mapping arguments and return values in internal library functions.Daniel Kirchner2018-08-1313-0/+236
| |/ / /
* | | | Merge pull request #4696 from ethereum/byteLiteralConversionchriseth2018-08-1319-79/+262
|\ \ \ \ | |/ / / |/| | | Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
| * | | Disallow ambiguous conversions between number literals and bytesXX types.Daniel Kirchner2018-08-1319-79/+262
| |/ /
* / / Disallow remappings with empty prefix.Daniel Kirchner2018-08-112-5/+13
|/ /
* | Merge pull request #4783 from elopio/test/function-call-syntactical-equalitychriseth2018-08-091-1/+27
|\ \ | | | | | | tests: add yul simplifier not applied with function calls
| * | tests: add yul simplifier not applied with function callsLeo Arias2018-08-091-1/+27
| | |
* | | Fixes compilation under MSVC.Christian Parpart2018-08-091-24/+25
|/ /
* | Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in ↵Alex Beregszaszi2018-08-091-4/+4
| | | | | | | | libevmasm)
* | Merge pull request #4772 from ethereum/asm-jsonAlex Beregszaszi2018-08-092-1/+180
|\ \ | |/ |/| Add tests for the assembler object (and avoid misusing string{} for u256)
| * Test for legacyAssembly in StandardCompilerAlex Beregszaszi2018-08-091-1/+29
| |
| * Add tests for the assembler objectAlex Beregszaszi2018-08-091-0/+151
| |
* | Merge pull request #4684 from ethereum/underscores_in_numeric_literalschriseth2018-08-098-0/+158
|\ \ | |/ |/| [BREAKING] Underscores in numeric literals
| * Cleanup & polish numbers-with-underscores parsing, also improving tests.Christian Parpart2018-08-088-135/+111
| |
| * Add stricter hex underscore rulesBalajiganapathi S2018-08-082-1/+17
| |
| * Allow underscores in numbers.Balajiganapathi S2018-08-081-0/+166
| |
* | Merge pull request #4769 from ethereum/inlineasm-overloading-resolutionAlex Beregszaszi2018-08-091-0/+11
|\ \ | | | | | | Provide nicer error message when referencing overloaded references
| * | Provide nicer error message when referencing overloaded referencesAlex Beregszaszi2018-08-081-0/+11
| | |
* | | Merge pull request #4753 from mattaereal/boost-to-string-patchAlex Beregszaszi2018-08-083-8/+6
|\ \ \ | |/ / |/| | Replace boost:lexical_cast<std::string> for std::to_string.
| * | Removing std:: from std::to_string and include for boost/lexical_castMatías Aereal Aeón2018-08-083-8/+6
| | |
* | | Remove experimental 0.5.0 pragmaAlex Beregszaszi2018-08-081-2/+1
| | |
* | | Merge pull request #4740 from ethereum/enforceNumberOfReturnValueschriseth2018-08-0811-37/+95
|\ \ \ | | | | | | | | Disallow empty return in function with return arguments.
| * | | Add back lost test case to a more reasonable location.Daniel Kirchner2018-08-081-0/+3
| | | |
| * | | Adjust return expressions in compilation tests.Daniel Kirchner2018-08-082-9/+8
| | | |
| * | | Update and extend tests for return expressions.Daniel Kirchner2018-08-088-28/+84
| | | |
* | | | Merge pull request #4589 from sifmelcara/fix/dynamic-link-boost-testAlex Beregszaszi2018-08-082-0/+19
|\ \ \ \ | | | | | | | | | | Fix shared boost test library build by customizing main
| * | | | Define BOOST_TEST_DYN_LINK for building soltest if Boost_USE_STATIC_LIBS is ↵Daniel Kirchner2018-08-021-0/+4
| | | | | | | | | | | | | | | | | | | | not set.
| * | | | Fix shared boost test library build by customizing mainmingchuan2018-08-021-0/+15
| | |/ / | |/| |
* | | | Merge pull request #4737 from ethereum/isoltestEarlyExitchriseth2018-08-081-13/+22
|\ \ \ \ | | | | | | | | | | Return from main if quit was requested during a sub-testsuite.
| * | | | Initialize ``TestTool::m_formatted``.Daniel Kirchner2018-08-081-1/+1
| | | | |
| * | | | Always count all test cases in isoltest and exit early on user request.Daniel Kirchner2018-08-081-12/+21
| | |/ / | |/| |
* | | | Merge pull request #4749 from elopio/test/yul-simplifier-not-appliedchriseth2018-08-081-0/+10
|\ \ \ \ | | | | | | | | | | tests: add yul simplifier not applied
| * | | | tests: add yul simplifier not appliedLeo Arias2018-08-081-0/+10
| | |_|/ | |/| |
* | | | Merge pull request #4736 from ethereum/removeFillRightAlex Beregszaszi2018-08-083-20/+11
|\ \ \ \ | |/ / / |/| | | Remove remaining instances of ``fillRight``.
| * | | Remove remaining instances of ``fillRight`` left over from tuple wildcards ↵Daniel Kirchner2018-08-083-20/+11
| |/ / | | | | | | | | | assignments.
* | | Merge pull request #4703 from ethereum/solc-fix-double-quoting-path-nameschriseth2018-08-081-0/+50
|\ \ \ | |/ / |/| | solc: Fixes double-quoting path names on stderr.
| * | solc: Fixes double-quoting path names on stderr and adds tests for it.Christian Parpart2018-08-071-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before it was possible to get a failure message, such as: ""notfound.sol"" is not found whereas it should be: "notfound.sol" is not found.
* | | Merge pull request #4731 from ethereum/interface-enumchriseth2018-08-077-1/+92
|\ \ \ | | | | | | | | Allow enums in interfaces
| * | | Add endToEnd test for referencing enumsAlex Beregszaszi2018-08-071-0/+44
| | | |
| * | | Add more syntax tests for enums and interfaces/librariesAlex Beregszaszi2018-08-075-0/+48
| | | |
| * | | Allow enums in interfacesAlex Beregszaszi2018-08-071-1/+0
| | | |
* | | | Merge pull request #4720 from ethereum/abi-rational-type-identifierAlex Beregszaszi2018-08-072-0/+39
|\ \ \ \ | | | | | | | | | | Fix type identifiers for RationalNumberType (on negative numbers)
| * | | | Add test for abi.encode (negative) literalsAlex Beregszaszi2018-08-071-0/+36
| | | | |
| * | | | Fix type identifiers for RationalNumberTypeAlex Beregszaszi2018-08-071-0/+3
| |/ / /
* | | | Merge pull request #4729 from ethereum/slot-on-non-storageAlex Beregszaszi2018-08-071-0/+9
|\ \ \ \ | |/ / / |/| | | Properly handle invalid references used together with _slot and _offset.
| * | | 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
| | | |
* | | | Merge pull request #4695 from ethereum/test-natspecchriseth2018-08-071-25/+26
|\ \ \ \ | |/ / / |/| | | Be explicit about which contract to test for in the Natspec tests
| * | | Be explicit about which contract to test for in the Natspec testsAlex Beregszaszi2018-08-061-25/+26
| | | |
* | | | Merge pull request #4724 from ethereum/slot-in-assemblyAlex Beregszaszi2018-08-072-0/+18
|\ \ \ \ | | | | | | | | | | Do not crash on using _slot and _offset suffixes on their own
| * | | | Do not crash on using _slot and _offset suffixes on their ownAlex Beregszaszi2018-08-072-0/+18
| | |/ / | |/| |
* / | | Remove clone feature.chriseth2018-08-071-1/+1
|/ / /
* | | Merge pull request #4694 from ethereum/test-abijsonchriseth2018-08-071-31/+31
|\ \ \ | | | | | | | | Be explicit about which contract to test for in ABIJSON tests
| * | | Be explicit about which contract to test for in ABIJSON testsAlex Beregszaszi2018-08-061-31/+31
| |/ /
* | | Merge pull request #4663 from ethereum/dropConstantASTchriseth2018-08-0720-48/+0
|\ \ \ | | | | | | | | [BREAKING] Drop constant field from JSON AST
| * | | Update tests.Daniel Kirchner2018-08-0620-48/+0
| | | |
* | | | Tests for deriving types for empty string.chriseth2018-08-061-0/+38
| | | |
* | | | 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-068-12/+144
|\ \ \ \ | |/ / / |/| | | Disallow assignments to mappings within tuple assignments; allow for local variables.
| * | | Additional semantics test cases.Daniel Kirchner2018-08-031-0/+45
| | | |
| * | | Allow assignments to local variables of mapping types.Daniel Kirchner2018-08-035-4/+57
| | | |
| * | | Disallow assignments to mappings within tuple assignments.Daniel Kirchner2018-08-034-12/+46
| | | |
* | | | Merge pull request #4644 from ethereum/event_struct_errorchriseth2018-08-068-0/+28
|\ \ \ \ | | | | | | | | | | Disallow structs in events without ABIEncoderV2
| * | | | Disallow structs in events without ABIEncoderV2Leonardo Alt2018-08-038-0/+28
| |/ / /
* | | | 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 #4677 from ethereum/jsonAstTestExtractionchriseth2018-08-0658-473/+5054
|\ \ \ | | | | | | | | JSON AST test extraction
| * | | Extract AST JSON tests.Daniel Kirchner2018-08-0454-470/+4753
| | | |
| * | | Infrastructure for extracting JSON AST tests.Daniel Kirchner2018-08-045-4/+302
| |/ /
* | | Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLooseChristian Parpart2018-08-0417-212/+29
|\ \ \ | | | | | | | | [BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
| * | | Drops tests for inline assembly jumps and function access as both isn't ↵Christian Parpart2018-08-021-46/+0
| | | | | | | | | | | | | | | | possible anymore.
| * | | Drop swap_peephole_optimization test from EndToEndTestsChristian Parpart2018-08-021-44/+0
| | | | | | | | | | | | | | | | Already covered by libevmasm/Optimiser: peephole_noncommutative_swap1, peephole_commutative_swap1 and peephole_swap_comparison
| * | | Update tests to remove support for loose assemblyChristian Parpart2018-08-0210-81/+24
| | | |
| * | | Disallow loos assembly in Solidity by permanently setting it to SyntaxError ↵Christian Parpart2018-08-0212-47/+11
| | |/ | |/| | | | | | | (from Warning)
* | | Merge pull request #4662 from evgeniuz/developAlex Beregszaszi2018-08-031-0/+18
|\ \ \ | |_|/ |/| | added helper function that joins vectors of strings
| * | added helper function that joins vectors of strings, refactored suggestions ↵Evgeniy Filatov2018-08-031-0/+18
| |/ | | | | | | formattingi function to use it
* / Turn warning about uninitialized storage returns into an error.Daniel Kirchner2018-08-0321-178/+178
|/
* Merge pull request #4646 from ethereum/smt_model_secondary_locationAlex Beregszaszi2018-08-021-1/+1
|\ | | | | SMT model is sorted and printed as secondary location
| * SMT model variables are sorted and printed as secondary source locationLeonardo Alt2018-08-021-1/+1
| |
* | Merge pull request #4399 from ethereum/contractWhitespaceAlex Beregszaszi2018-08-0243-792/+792
|\ \ | |/ |/| Remove trailing whitespace in all contract files.
| * Remove trailing whitespace in all contract files.Daniel Kirchner2018-08-0243-792/+792
| |
* | 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
|/