Commit Graph

21040 Commits

Author SHA1 Message Date
Marenz
7a51acc5fe Correct wrong error message referencing .slot and .offset when .length was used 2021-09-21 18:28:38 +02:00
Marenz
0f326ada5c Sort changelog "bugfixes" alphabetically 2021-09-21 18:01:12 +02:00
Kamil Śliwak
b1351f4807 Fix typo in test name: leave_items_on_tack.sol -> leave_items_on_stack.sol 2021-09-21 16:28:16 +02:00
Kamil Śliwak
7bd1d1cf20 Command-line test for --asm-json 2021-09-21 16:28:16 +02:00
chriseth
fc95436704
Merge pull request #11984 from ethereum/parse-input-mode-earlier
[CLI] Parse input mode earlier and add some asserts
2021-09-21 15:09:21 +02:00
Leo Alt
e74f853c6b [SMTChecker] Support user types 2021-09-21 13:23:17 +02:00
chriseth
659498ff50
Merge pull request #11992 from ethereum/rename-debug-info-cmdline-tests
Rename existing debug info tests to match the new naming convention
2021-09-21 12:10:01 +02:00
Alex Beregszaszi
b5e68df3cd Document JsonFormat 2021-09-21 10:49:13 +01:00
Alex Beregszaszi
55c64e3ca1 Always explicitly initialise Json objects 2021-09-21 10:49:13 +01:00
Alex Beregszaszi
69e9531181 Add JSON tests for unicode, all types, and conformance to ECMA-262/ECMA-404
Also avoid using toStyledString
2021-09-21 10:49:13 +01:00
Kamil Śliwak
d86347cf7e Rename existing debug info tests to match the naming convention 2021-09-21 11:07:46 +02:00
hawkess
5edabc014d Changed enforce-gas-cost and enforce-via-yul to accept explicit arguments 2021-09-20 13:17:35 -05:00
Sean Hawkes
a875d1225a Explicity set default values for program options based on initialized values from constructor 2021-09-20 08:34:28 -05:00
chriseth
2c3322cbf6
Merge pull request #11993 from ethereum/remove-trailing-whitespace-after-location-with-no-snippet
Don't include whitespace after `@src` tag if there's no snippet
2021-09-20 14:10:59 +02:00
chriseth
06223f0ae9
Merge pull request #11977 from acoglio/patch-2
Clarify interpretation of literals.
2021-09-20 12:00:36 +02:00
Alessandro Coglio
0ac441ac73 Clarify interpretation of literals.
This is based on discussions on Gitter.
2021-09-20 11:59:59 +02:00
chriseth
c9f98f2cc2
Merge pull request #11983 from ethereum/fix-fatal-error-hiding-non-fatal-errors-in-standard-json
Don't discard non-fatal errors in Yul mode in Standard JSON when followed by a fatal error
2021-09-20 11:53:09 +02:00
Harikrishnan Mulackal
46f7078d67
Merge pull request #11995 from andrewl64/patch-1
Update README.md
2021-09-20 09:40:42 +02:00
Sean Hawkes
f2e59923ab Added call to CommonOptions base class validate method to derived IsolTestOptions validate method to validate against both common and extended options 2021-09-18 06:59:37 -05:00
Sean Hawkes
76fa00abed Added invocation of base class addOptions in derived to populate list with common and derived options, fixed errors with editor member variable type mismatch 2021-09-18 06:22:27 -05:00
Sean Hawkes
ae7c617711 Added call to addOptions virtual helper in CommonOptions::parse to add options from base/derived classes, modified interface of IsolTestOptions to include editor member variable set based on provided parameter in constructor as it is now needed by addOptions helper function 2021-09-18 05:43:09 -05:00
Sean Hawkes
f47e918caa Moved program_options add_options to a helper function to allow defaults to be set by derived class constructor before immutable options are created by parent 2021-09-18 04:55:50 -05:00
Andrew Lyndem
2052307d33
Update README.md
Hyperlink correction.
2021-09-18 15:19:56 +05:30
Kamil Śliwak
a9b5835e5d AsmPrinter: Don't include whitespace after @src if there's no code snippet 2021-09-17 21:46:12 +02:00
Kamil Śliwak
b3a513d3b6 SMTSolverChoice: Rewrite operator & not to modify its argument 2021-09-17 21:39:29 +02:00
Kamil Śliwak
588ec39eef SMTSolverChoice: Make more members const/noexcept 2021-09-17 21:39:29 +02:00
Kamil Śliwak
4a8a003b3d CommandLineParser: Initialize inputMode and perform generic validations earlier 2021-09-17 18:42:13 +02:00
Kamil Śliwak
30796b8957 Split CommandLineParser::parse() into smaller functions 2021-09-17 18:42:13 +02:00
Kamil Śliwak
13571f4a67 CommandLineInterface: Add asserts documenting which function is expected to work in which input modes 2021-09-17 18:42:13 +02:00
Bhargava Shastry
d7ddfcc665
Merge pull request #11989 from ethereum/update-ossfuzz-docker
Docker config: Update ossfuzz docker image.
2021-09-17 16:28:19 +02:00
Bhargava Shastry
bb1e185f88 Docker config: Update ossfuzz docker image. 2021-09-17 15:40:35 +02:00
Leonardo
20ca5c1361
Merge pull request #11986 from ethereum/fix-pylint-warnings-about-f-strings
Fix pylint warnings about the usage of f-strings
2021-09-17 14:24:05 +02:00
Alex Beregszaszi
e089799e5b
Merge pull request #11988 from geek96/develop
Added the BigSur 11.5 in the supported os list
2021-09-17 10:20:33 +01:00
Basit Raza
553d3ed714
Added the BigSur 11.5 in the supported os list 2021-09-17 10:51:54 +04:00
Bhargava Shastry
7877758cf3
Merge pull request #11979 from ethereum/update-ossfuzz-docker
Docker: Tag ossfuzz base clang image
2021-09-16 22:35:23 +02:00
Kamil Śliwak
fc8c4b046c StandardCompiler: Do not discard non-fatal errors that happened before a fatal error 2021-09-16 20:29:03 +02:00
Kamil Śliwak
1a9ba1baca Failing test: standard_yul_single_file_via_urls 2021-09-16 20:29:03 +02:00
Kamil Śliwak
4560e5bdd9 Bump base image version for b_bytecode_ems to get a newer version of Python 2021-09-16 20:22:24 +02:00
Kamil Śliwak
66a540ea01 Fix pylint warnings about the usage of f-strings 2021-09-16 19:38:44 +02:00
chriseth
3f8023ace9
Merge pull request #11981 from ethereum/simplifyVersion
Simplify version.cpp
2021-09-16 18:28:19 +02:00
chriseth
bf60302098
Merge pull request #11903 from ethereum/printASTID
Print @ast-id
2021-09-16 18:07:33 +02:00
chriseth
2d75043051
Merge pull request #11971 from ethereum/parseASTID
Parse ast-id
2021-09-16 18:07:17 +02:00
chriseth
a141589adf Update tests. 2021-09-16 17:19:17 +02:00
chriseth
cedf68365b Move test. 2021-09-16 17:19:17 +02:00
chriseth
3e429ab231 Update commandline tests. 2021-09-16 17:19:17 +02:00
chriseth
8b3748e5b7 Emit ast id. 2021-09-16 17:19:17 +02:00
chriseth
a72f4f3993 Print AST ID. 2021-09-16 17:19:17 +02:00
chriseth
dafa6f552b Rename formatting function. 2021-09-16 17:19:17 +02:00
chriseth
63993387d6 Add test for invalid ast id. 2021-09-16 17:18:48 +02:00
chriseth
05d20446bb Parse @ast-id annotation. 2021-09-16 17:18:48 +02:00