Commit Graph
22036 Commits
Author SHA1 Message Date
chriseth acd488532d Set release date. 2022-03-16 10:28:40 +01:00
chriseth 724af73fb8 Merge pull request #12759 from ethereum/evmCodeTransformAvoidPops
Avoid unnecessary pops in evm code transform.
2022-03-15 19:14:46 +01:00
Daniel Kirchner 5cd98006d4 Fill in junk in stack layouts on terminating control flow paths. 2022-03-15 18:36:55 +01:00
Daniel Kirchner b6cd3e154c Test case for current behaviour. 2022-03-15 18:36:30 +01:00
chriseth 5afa2adec2 Merge pull request #12775 from ethereum/refactorDataFlowAnalyzer
Refactor data flow analyzer state access.
2022-03-15 15:52:40 +01:00
chriseth d946b6b3a0 Merge pull request #12793 from ethereum/hasDefaultHelper
Add helper to see if a switch has a default case.
2022-03-15 15:20:53 +01:00
chriseth 28593839d9 Add helper to see if a switch has a default case. 2022-03-15 14:29:54 +01:00
chriseth 2858f705c1 Merge pull request #12791 from ethereum/usingForDocAtFileLevel
[DOC] Using for at file level.
2022-03-15 12:36:39 +01:00
chriseth 0bc29f2cb5 Using for at file level. 2022-03-15 12:07:28 +01:00
chriseth c6ac1625bd Merge pull request #12773 from ethereum/encodeCallBug
Fix encodeCall bug.
2022-03-15 10:52:13 +01:00
Daniel Kirchner 8cb01a9953 Fix and updated test. 2022-03-15 10:23:09 +01:00
Daniel Kirchner db27051024 Test for old behaviour. 2022-03-15 10:23:09 +01:00
Daniel Kirchner 353759c1d4 Merge pull request #12680 from devtooligan/fix/underscore-prefix
fix: corrects _ prefixes
2022-03-14 22:58:42 +01:00
chriseth afdf22f5c7 Create a state struct. 2022-03-14 19:32:33 +01:00
chriseth eab4ca906c Refactor data flow analyzer state access. 2022-03-14 19:32:33 +01:00
chriseth e154d43176 Merge pull request #12288 from ethereum/exportUsing
Using global
2022-03-14 18:57:26 +01:00
chriseth 9188519f11 Using for with global binding. 2022-03-14 17:39:14 +01:00
Bhargava Shastry e19c366532 Merge pull request #12789 from ethereum/yulFuzzerCustomMutation
Permit control flow mutations in global scope of a Yul program.
2022-03-14 16:23:18 +01:00
Richie beb51068bb fix: corrects _ prefixes 2022-03-14 08:03:10 -07:00
chriseth 7f360e61fc Merge pull request #12781 from ethereum/fixImportDirectiveVisits
Fix import directive visits in type checker and view pure checker.
2022-03-14 15:35:37 +01:00
chriseth 3d8fc6b126 Merge pull request #12760 from ethereum/viaIRNonExperimental
Mark viaIR code generation as non-experimental.
2022-03-14 15:30:15 +01:00
Bhargava Shastry e0d9dec874 Permit control flow mutations in global scope of a Yul program. 2022-03-14 15:04:32 +01:00
chriseth 9ef590cc9f Merge pull request #12696 from ethereum/unreliableAstJsonTests
Fix unreliable ASTJson tests
2022-03-14 15:02:54 +01:00
Daniel Kirchner 0f1a63c3fa Fix import directive visits in type checker and view pure checker. 2022-03-14 14:53:06 +01:00
Daniel Kirchner 0172f61340 No longer mark Yul as experimental. 2022-03-14 14:48:01 +01:00
Daniel Kirchner e58c0b561d Mark viaIR code generation as non-experimental. 2022-03-14 14:48:00 +01:00
wechman 8a254b7a7f Use sol file to validate test variants 2022-03-14 14:21:30 +01:00
wechman 4c1224e3bf Generate ASTJSONTest variants only if a file with expected result exists 2022-03-14 14:21:30 +01:00
wechman 371a531381 Add "fail after parsing" scenario to ASTJSON tests 2022-03-14 14:21:30 +01:00
wechman f431c6f058 Support compilation fail scenarios in ASTJSON tests 2022-03-14 14:21:06 +01:00
wechman 38639417e1 Non-fatal erros do not stop ASTJSON test execution 2022-03-14 14:21:06 +01:00
wechman 5f7ff667b9 Fix syntax errors in ASTJSON tests 2022-03-14 14:21:06 +01:00
wechman d609409624 Add not_existing_import.json to ASTJSON tests 2022-03-14 14:21:06 +01:00
chriseth 3f6beaa0ad Merge pull request #12121 from ethereum/extend-using-statement
Extend using statement
2022-03-14 14:10:16 +01:00
Daniel Kirchner 63e65a6818 Merge pull request #12788 from ethereum/cleanupchangelog
Clean up changelog.
2022-03-14 13:59:30 +01:00
chriseth a059ca1dab Clean up changelog. 2022-03-14 13:06:33 +01:00
chriseth 16a69816f0 Merge pull request #12430 from ethereum/lsp-goto-definition
LSP goto definition
2022-03-14 13:03:01 +01:00
hrkrshnn 672951ccc7 Extend using-for. 2022-03-14 12:33:44 +01:00
Daniel Kirchner db30f4d495 Merge pull request #12787 from ethereum/stackTooDeepMemorySafeSuggestion
Change memory-safe assembly annotation suggestion during stack too deep errors.
2022-03-14 12:30:29 +01:00
Christian Parpart 2b2f8acc12 LSP: Implements goto-definition. 2022-03-14 11:59:41 +01:00
Daniel Kirchner 9410e125da Change memory-safe assembly annotation suggestion during stack too deep errors. 2022-03-14 11:54:09 +01:00
Christian Parpart 1035eacb53 LSP: Introduce HandlerBase for future LSP-feature implementations. 2022-03-14 10:52:39 +01:00
chriseth 60463cfd11 Merge pull request #12716 from ethereum/set-c-locale
Don't set locale used by C++ stdlib to the value from `LC_ALL` env variable even if it's valid
2022-03-14 10:38:19 +01:00
chriseth 401a0465d7 Merge pull request #12708 from nishant-sachdeva/warn_when_rationals_implicitly_converting_to_mobile_type
Document behaviour of ternary operator of literals.
2022-03-14 10:25:30 +01:00
nishant-sachdeva b7a9daa2f8 Generate warning when rational numbers are converted to their mobile type without explicit requests 2022-03-14 14:04:46 +05:30
Kamil Śliwak 2d834eaf67 A script and CI job for testing the compiler with different locales 2022-03-14 09:08:01 +01:00
wechman 9dc26af829 Use "C" instead user environment locale in solc 2022-03-14 09:07:48 +01:00
Daniel Kirchner 26963775fe Merge pull request #12736 from ethereum/reenable-tests-via-ir-in-ext-tests
Re-enable running tests via IR in external tests in cases where they don't pass due to Hardhat heuristics
2022-03-11 13:44:55 +01:00
Daniel Kirchner 09f667948b Merge pull request #12746 from tfire/fix/remove-namespace-ast-annotations
Remove use of `using namespace` in header file
2022-03-11 12:49:13 +01:00
Nishant Sachdeva 1827df8a2d Merge pull request #12779 from nishant-sachdeva/distinguish_different_types_in_error_messages_from_abiEncodecall
Error messages from abi encodecall are giving more details about the types of the involved variables
2022-03-11 16:50:45 +05:30