Commit Graph

17617 Commits

Author SHA1 Message Date
Leonardo Alt
5afd1219f5 Add test with unused error id 2020-08-14 12:58:27 +02:00
Leonardo Alt
1b720cf674 Changelog 2020-08-14 12:58:27 +02:00
Leonardo Alt
0a160b1ba0 Update remaining tests 2020-08-14 12:58:27 +02:00
Leonardo Alt
80ab56dbc6 Update overflow tests 2020-08-14 12:58:27 +02:00
Leonardo Alt
8a06041bbe [SMTChecker] Add underflow/overflow target to CHC 2020-08-14 12:58:27 +02:00
Alex Beregszaszi
b1fb9da63a
Merge pull request #9619 from ethereum/yul-tests
Add more syntax tests for Yul
2020-08-13 17:09:39 +01:00
Alex Beregszaszi
babb175d86 Add more syntax tests for Yul 2020-08-13 14:20:52 +01:00
Daniel Kirchner
5d670aaa18
Merge pull request #9614 from ethereum/yul-hex
Update tests/documentation to show that hex literals are not supported in Yul
2020-08-13 03:11:45 +02:00
Alex Beregszaszi
acdaff6308
Merge pull request #9615 from haltman-at/fix-immutable-refs-docs
Correct immutableReferences documentation from array to object
2020-08-13 00:31:12 +01:00
Alex Beregszaszi
ce501d6740
Merge pull request #9613 from ethereum/yul-function-arrow
Add/Update tests for Yul function definition
2020-08-13 00:30:00 +01:00
Alex Beregszaszi
b752551ebd Add test case for string literals in switch statements in Yul 2020-08-13 00:27:41 +01:00
Alex Beregszaszi
18eed44688 Drop hex literals from the Yul documentation 2020-08-13 00:27:19 +01:00
Alex Beregszaszi
acb1e8c280 Add tests showing hex literals are not allowed in Yul 2020-08-13 00:27:19 +01:00
Harry Altman
590572d50d Correct immutableReferences documentation from array to object 2020-08-12 19:16:10 -04:00
Alex Beregszaszi
bb29307b02 Add/Update tests for Yul function definition 2020-08-12 23:53:08 +01:00
Jason Cobb
888d7037cd
Make FunctionCallAnnotation::kind a SetOnce 2020-08-12 11:57:01 -04:00
Đorđe Mijović
e68d16d8e0
Merge pull request #9503 from ethereum/copyStructCalldataMemorySol2Yul
[Sol->Yul] Implementing struct copying from calldata to memory.
2020-08-11 23:53:59 +02:00
Djordje Mijovic
d685bee2ec [Sol->Yul] Implementing struct copying from calldata to memory.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2020-08-11 16:18:06 +02:00
Leonardo
05901f5bc9
Merge pull request #9521 from ethereum/smt_fix_array_name
[SMTChecker] Fix tuple name for arrays
2020-08-10 15:31:01 +02:00
Leonardo Alt
ec31d971e6 [SMTChecker] Fix tuple name for arrays 2020-08-07 12:28:10 +02:00
chriseth
241a564fca
Merge pull request #9517 from ethereum/documentMappings
Document encoding of mappings in library calls.
2020-08-06 16:43:17 +02:00
Daniel Kirchner
9ca48987dd
Merge pull request #9520 from ethereum/interpreterLiteral
Fix literal arguments in interpreter.
2020-08-06 16:11:31 +02:00
chriseth
ab4aad6dc9
Merge pull request #9588 from ethereum/docs-fix-broken-highlighting-in-some-blocks
[docs] Fix solidity code blocks using incorrect highlighter name
2020-08-06 15:42:18 +02:00
chriseth
ac1e1e9b41
Merge pull request #9584 from ethereum/oldCodegenOnlyWhenRequested
Don't run old codegen, when not needed, in CompilerStack, StandardCompiler and tests.
2020-08-06 15:40:25 +02:00
Daniel Kirchner
143b37af56 Only conditionally run old code generation in CompilerStack, StandardCompiler and semantic tests. 2020-08-06 15:05:17 +02:00
Kamil Śliwak
89c99800d0 docs: Fix solidity code blocks by using the capitalized name
- This only works with `Solidity`, not with `solidity`.
2020-08-06 14:45:58 +02:00
chriseth
0226d104b7 Fix literal arguments in interpreter. 2020-08-06 14:16:59 +02:00
chriseth
3a409c39e4
Merge pull request #9518 from ethereum/smt_fix_bmc_function_inlining
[SMTChecker] Fix ICE in BMC function inlining
2020-08-06 00:50:04 +02:00
chriseth
ebd512cef6
Merge pull request #9576 from ethereum/test-cleanup
Rename libsolidity/SolidityScanner to liblangutil/Scanner in tests
2020-08-06 00:49:33 +02:00
chriseth
488fd5a27a
Merge pull request #9575 from ethereum/yul-optim-check
Parse optimiser output in yulOptimiserTests
2020-08-06 00:40:45 +02:00
Alex Beregszaszi
d98eab24c5
Merge pull request #9502 from ethereum/yul-object-syntax-tests
Add syntax tests for Yul objects
2020-08-05 22:19:36 +01:00
Alex Beregszaszi
2e8616e2e4 Run prequisite steps for VarNameCleaner in tests 2020-08-05 22:12:51 +01:00
Alex Beregszaszi
99ba9ccc5b
Merge pull request #9578 from cakesoft-omkar/develop
Update installing-solidity.rst
2020-08-05 21:32:48 +01:00
Alex Beregszaszi
028f77e8cc Remove covered test cases from error_codes.py exception list 2020-08-05 21:22:00 +01:00
Alex Beregszaszi
0a8bc861b2 Remove old boost tests from libyul/ObjectParser 2020-08-05 21:01:46 +01:00
Alex Beregszaszi
291c359ee9 Add more syntax tests for Yul objects
Also move some of them from boost tests.
2020-08-05 21:01:46 +01:00
cakesoft-omkar
14fc453cb4
Update installing-solidity.rst
Typo- Correction
2020-08-06 00:51:10 +05:30
Alex Beregszaszi
e7c99918ed Use yul::test::parse in libyul/SynaxtTests to support objects 2020-08-05 18:10:21 +01:00
chriseth
98faf82d3f
Merge pull request #9563 from ethereum/constrInLib
Fix member lookup for constructor in library.
2020-08-05 19:07:28 +02:00
Alex Beregszaszi
99d96870ae Rename libsolidity/SolidityScanner to liblangutil/Scanner in tests 2020-08-05 13:39:18 +01:00
Alex Beregszaszi
42a777e9e2 Use forward declaration in EwasmTranslationTest 2020-08-05 13:31:51 +01:00
Alex Beregszaszi
dec0f86b83
Merge pull request #9542 from ethereum/smt_add_test
[SMTChecker] Add test from Aon blog post
2020-08-05 13:24:16 +01:00
Alex Beregszaszi
e77ae3f06e Parse optimiser output in yulOptimiserTests 2020-08-05 12:57:14 +01:00
Alex Beregszaszi
a21c8e18f1
Merge pull request #9572 from ethereum/yul-optimiser-tests
Return object format in expectation for yulOptimizerTests
2020-08-05 12:57:01 +01:00
Alex Beregszaszi
ea38193c71
Merge pull request #9569 from ethereum/yul-dialect-literalkind
Include literal kind of Dialect for builtins
2020-08-05 12:31:21 +01:00
Alex Beregszaszi
ad6f39376f Return object format in expectation for yulOptimizerTests 2020-08-05 11:55:13 +01:00
Alex Beregszaszi
a27b79fece Add yulSyntaxTests to error_codes.py 2020-08-05 11:37:04 +01:00
Alex Beregszaszi
6e381326fe Adjust and add more tests 2020-08-05 11:37:04 +01:00
Alex Beregszaszi
3a617f9cf2 Validate expected literal kind for yul::Dialect builtins
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2020-08-05 11:37:04 +01:00
Alex Beregszaszi
f6a57af809 Add LiteralKind to Dialect.literalArguments
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2020-08-05 11:37:00 +01:00