1566 Commits
Author SHA1 Message Date
Leonardo Alt 69320472af Buglist check script supports json paths 2018-09-10 16:45:56 +02:00
chriseth 3b7be594cf Update bug description, add regex and tests. 2018-09-10 14:38:48 +02:00
chriseth f190caf538 Tests. 2018-09-10 14:27:57 +02:00
chriseth b9164eaba2 Merge pull request #4937 from ethereum/fixNewline_0425
[backport] Fix newline bugs
2018-09-10 13:00:03 +02:00
chriseth 30578cad81 Tests. 2018-09-10 12:28:34 +02:00
chriseth c0d9b492a2 This fixes several bugs with regards to line breaks and comments:
- 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 '/'
2018-09-10 12:28:34 +02:00
Leonardo Alt 13c8bb1c89 Review suggestions 2018-09-06 18:28:16 +02:00
Leonardo Alt bc6366fd52 Add end to end tests 2018-09-06 18:28:16 +02:00
Leonardo Alt 768ea5b0be Disallow indexed reference types in events when using ABIEncoderV2 2018-09-06 18:28:14 +02:00
Leonardo Alt c577e043a4 Disallow structs in events without ABIEncoderV2 2018-09-06 17:11:53 +02:00
Alex Beregszaszi 221a4d1f1f Split warning for multi arguments for hash functions 2018-05-16 11:12:25 +02:00
chriseth 03f60410c9 Add test for single non-bytes argument. 2018-05-16 09:48:03 +02:00
chriseth 203475ef02 Adjust tests. 2018-05-16 09:48:03 +02:00
chriseth 8b98ff470c Add test for forwarding length check. 2018-05-16 09:48:03 +02:00
chriseth 03c2484407 Merge pull request #4145 from ethereum/more-parser-test-moves
Move couple of parser tests to syntax tests.
2018-05-16 09:44:47 +02:00
chriseth c781baf733 Add tests for multi variable declaration statement. 2018-05-16 03:52:24 +02:00
Alex Beregszaszi 7fb43fe854 Move couple of parser tests to syntax tests. 2018-05-16 03:48:37 +02:00
chriseth 2ba0002998 Merge pull request #4139 from ethereum/abiEncodeIsPure
ABI encoding functions are pure and should be usable in constants.
2018-05-15 16:59:48 +02:00
chriseth 63861aac4a Merge pull request #3947 from ethereum/smt_storage
[SMTChecker] Support to integer and Bool storage vars
2018-05-15 14:54:41 +02:00
chriseth dac0029d16 ABI encoding functions are pure and should be usable in constants. 2018-05-15 14:45:54 +02:00
chriseth dce6224052 Merge pull request #4062 from ethereum/revert-variable
Fix revert with reason coming from a string variable
2018-05-15 14:44:39 +02:00
Leonardo Alt a0b42105e4 Testing state vars that are declared after functions that use them 2018-05-15 14:28:08 +02:00
Leonardo Alt 4117e859eb [SMTChecker] Declaring all state vars before any function is visited 2018-05-15 14:28:08 +02:00
Leonardo Alt 2dbb35d4a8 [SMTChecker] Support to integer and Bool storage vars 2018-05-15 14:22:50 +02:00
Daniel Kirchner 56238ab1ec Add test for default location. 2018-05-14 20:23:40 +02:00
Daniel Kirchner 16e966dea0 Add control flow analyzer and test for uninitialized storage returns. 2018-05-14 20:23:40 +02:00
chriseth ab63ab1cbb Merge pull request #4093 from ethereum/prepareDropConstantKeyword
Prepare drop constant keyword.
2018-05-14 12:47:07 +02:00
Daniel Kirchner 9b7ded2f78 Remove "view"'s in end-to-end tests that will result in errors in 0.5.0. 2018-05-11 11:01:06 +02:00
mingchuan dbd0a7ed60 Fix link error when using boost shared library 2018-05-11 11:20:19 +08:00
Alex Beregszaszi c03a29dea8 Fix revert with reason coming from a string variable 2018-05-09 17:53:17 +02:00
Daniel Kirchner bc47265b3f Replace constant with view in the tests. 2018-05-09 15:07:47 +02:00
Alex Beregszaszi 2c3f57bec6 Merge pull request #4104 from ethereum/parserErrorSourceLocations
Proper source locations for parser errors.
2018-05-09 14:06:30 +01:00
Daniel Kirchner 305fc0626b Update test expectations. 2018-05-09 14:08:25 +02:00
Daniel Kirchner 3e6a8d7c2a Add more tests for right shifts. 2018-05-09 12:50:56 +02:00
Alex Beregszaszi 8afd0ea030 Introduce Julia filter to encapsulate top level Block as a FunctionDefinition (wasm specific) 2018-05-09 11:21:03 +02:00
chriseth 54aa10ce36 Merge pull request #4054 from ethereum/token-names
Improve parser error messages
2018-05-09 11:06:23 +02:00
chriseth bbae4fb0ef Test with high path complexity. 2018-05-09 10:53:31 +02:00
chriseth 8ee5d3b274 New tests for wildcard assignments. 2018-05-08 15:32:36 +01:00
chriseth 43ec1699ba Remove deprecated syntax from a test 2018-05-08 15:13:32 +01:00
chriseth 07e862a145 Extract tests. 2018-05-08 15:13:32 +01:00
chriseth d0bd549d85 Merge pull request #3256 from ethereum/fullInliner
Full inliner
2018-05-07 11:31:35 +02:00
chriseth 150d226603 Merge pull request #4063 from ethereum/emit-non-event
Show proper error when trying to emit a non-event
2018-05-04 15:02:04 +02:00
Alex Beregszaszi 840ed1e88a Update parser test expectations 2018-05-04 13:31:56 +01:00
Alex Beregszaszi ffe7f224a6 Show proper error when trying to emit a non-event 2018-05-04 12:47:01 +02:00
Alex Beregszaszi ed9f80690b Simplify expectIdentifierToken by using expectToken 2018-05-03 22:10:51 +01:00
chriseth 650244f619 Merge pull request #4053 from ethereum/parser-syntax-tests
Move some parser tests to syntax tests
2018-05-03 08:35:00 +02:00
Alex Beregszaszi 07e765a2f1 Move some parser tests to syntax tests 2018-05-02 21:21:11 +01:00
chriseth d2145428c5 Fix test case strings. 2018-05-02 17:39:42 +02:00
chriseth 78945e81e4 Test the removal of the result variable. 2018-05-02 17:39:42 +02:00
chriseth 5cd84a630c Tests. 2018-05-02 17:39:42 +02:00