hrkrshnn
|
8815d6f5f0
|
Moved a check related to constants to TypeChecker
And added a proper error message when constant types containing (nested) mapping types are used.
|
2021-10-26 18:43:04 +02:00 |
|
hrkrshnn
|
1fa6c71bd0
|
Allow Mapping keys to have type UserDefinedValueType.
Also added syntax and semantic test.
|
2021-09-13 10:03:49 +02:00 |
|
hrkrshnn
|
9f7426b4a9
|
Implemented parsing for UserDefinedValueType
Also added parsing tests.
|
2021-09-07 19:42:51 +02:00 |
|
Alex Beregszaszi
|
1be07c2b36
|
Trivial isoltest updates: missing // ---- at the end
|
2021-04-20 17:38:29 +02:00 |
|
Alex Beregszaszi
|
84c05d35f3
|
Trivial isoltest updates: normalized whitespace
|
2021-04-20 17:38:29 +02:00 |
|
a3d4
|
35a25b107f
|
Fix ICE caused by const structs with mappings
|
2021-01-12 18:39:54 +01:00 |
|
Alex Beregszaszi
|
edbdff8619
|
Update tests
|
2020-12-14 19:32:31 +00:00 |
|
hrkrshnn
|
88c99a7538
|
Tests/Docs: changing type of msg.sender and tx.origin into address
And also making the type of address(literal) as non-payable address.
|
2020-12-14 16:55:48 +01:00 |
|
chriseth
|
72f1e4ea0b
|
Explicitly set coder to v1 for syntax tests.
|
2020-12-09 15:25:15 +01:00 |
|
hrkrshnn
|
40244c5469
|
Tests/Docs after stricter explicit conversion.
|
2020-12-03 16:51:05 +01:00 |
|
hrkrshnn
|
a834476de6
|
Tests/Docs after disallowing super, this and _ as declaration names
|
2020-11-25 11:14:13 +01:00 |
|
chriseth
|
253889cbf1
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-11-24 16:22:03 +01:00 |
|
chriseth
|
79669ecd48
|
Use new abicoder pragma.
|
2020-11-24 14:57:45 +01:00 |
|
Kamil Śliwak
|
1bf700e088
|
Return a type error when an enum has more than 256 members
|
2020-11-16 18:58:19 +01:00 |
|
Mathias Baumann
|
32b4f18023
|
Print warning for unnamed return parameters and no return statement
|
2020-10-13 13:11:29 +02:00 |
|
chriseth
|
b2f1d558da
|
Update existing tests.
|
2020-10-08 18:56:17 +02:00 |
|
a3d4
|
a244daaacb
|
Exclude tests with overly deep nesting from antlr grammar checks
|
2020-09-29 20:20:20 +02:00 |
|
a3d4
|
3698cd54a5
|
Complete error coverage of Parser and SyntaxChecker
|
2020-09-29 16:07:02 +02:00 |
|
a3d4
|
9721bda36e
|
Complete error coverage of ParserBase
|
2020-09-28 01:56:25 +02:00 |
|
Daniel Kirchner
|
bd21535dd1
|
Rewrite of the antlr grammar.
|
2020-08-19 17:55:31 +02:00 |
|
a3d4
|
0f5d0b6455
|
Improve error coverage of parser
|
2020-08-19 01:37:11 +02:00 |
|
chriseth
|
93c792c696
|
Remove special treatment of `var `.
|
2020-07-20 17:22:04 +02:00 |
|
Harikrishnan Mulackal
|
f73b25bb78
|
Removed specialized errors related to constant state mutability
|
2020-07-14 12:42:47 +05:30 |
|
Daniel Kirchner
|
38c6ecbbe2
|
Remove finney and szabo denominations.
|
2020-07-13 18:07:10 +02:00 |
|
chriseth
|
64b6524bdb
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-08 09:37:14 +02:00 |
|
chriseth
|
9743390a53
|
Update tests.
|
2020-07-07 12:16:18 +02:00 |
|
chriseth
|
e48d3e5847
|
Fix wording of error message.
|
2020-07-06 19:22:52 +02:00 |
|
Mathias Baumann
|
02328f3bbb
|
Add unit denomination `gwei `
|
2020-06-24 18:24:56 +02:00 |
|
a3d4
|
e04cedafc5
|
Added error codes to SyntaxTest expectations (updated tests)
|
2020-06-22 16:51:47 +02:00 |
|
Daniel Kirchner
|
6f04664cfa
|
Disallow array slicing for arrays with dyanmically encoded base types.
|
2020-05-13 15:52:22 +02:00 |
|
a3d4
|
02d1f8c41a
|
Remove a dedicated error flag from DeclarationTypeChecker
|
2020-05-12 18:13:17 +02:00 |
|
Daniel Kirchner
|
3af43fd350
|
Extract typing.
|
2020-04-14 10:59:28 +02:00 |
|
hrkrshnn
|
79387b2ada
|
Removed redundant declaration check; changed relevant test cases
|
2020-04-02 12:27:38 +05:30 |
|
Daniel Kirchner
|
d3cbfb0c5c
|
Allow user-defined types as mapping keys in parser and restrict to contracts during type checking.
|
2020-02-04 17:22:03 +01:00 |
|
Daniel Kirchner
|
05baa23e8a
|
Require unimplemented functions to be virtual.
|
2019-12-02 21:59:00 +01:00 |
|
chriseth
|
0973ae751a
|
Do not warn about enabled ABIEncoderV2 anymore.
|
2019-11-26 15:49:42 +01:00 |
|
chriseth
|
cac2e843e6
|
Merge pull request #7618 from ethereum/addMoreAbstractKeywordsInTests
Add some more abstract keywords in test to make sure the correct property is tested.
|
2019-11-05 13:38:21 +01:00 |
|
chriseth
|
7c258873bd
|
Add some more abstract keywords in test to make sure the correct property is tested.
|
2019-11-04 17:26:38 +01:00 |
|
Daniel Kirchner
|
3321fc56ea
|
Split fallback function and introduce "fallback()" and "receive()" syntax.
|
2019-11-04 17:17:58 +01:00 |
|
Alexander Arlt
|
cd3ad73b5a
|
Update tests.
|
2019-11-01 14:54:47 -05:00 |
|
Daniel Kirchner
|
4782c800ec
|
Initial introduction of array slices with partial implementation for dynamic calldata arrays.
|
2019-09-13 10:57:53 +02:00 |
|
Leonardo Alt
|
5cfe0b7670
|
Allow explicit conversion from address to address payable
|
2019-09-09 23:46:00 +02:00 |
|
Daniel Kirchner
|
4a65c5ebaa
|
Compile succeeding syntax tests.
|
2019-08-16 17:14:49 +02:00 |
|
Alex Beregszaszi
|
9aafa32825
|
Disallow empty import statements
|
2019-01-28 13:52:15 +00:00 |
|
Daniel Kirchner
|
0dfd4a726e
|
Warn about unreachable code.
|
2019-01-10 10:36:50 +01:00 |
|
Leonardo Alt
|
508aae8a67
|
Disable state mutability warning for functions with empty body
|
2018-12-12 14:43:44 +01:00 |
|
Leonardo Alt
|
53537864a2
|
Disable unused var warning for functions with empty body
|
2018-12-12 14:43:44 +01:00 |
|
Albert
|
df08d79623
|
Fix #5470
Remove unary + from the type system
|
2018-12-06 01:54:04 +01:00 |
|
Christian Parpart
|
0ad56bca79
|
Adapting tests to Scanner's lexical error diagnostics change.
|
2018-11-24 12:59:37 +01:00 |
|
Lazaridis
|
e454737a3c
|
adapt to latest code changes
|
2018-11-23 17:27:52 +01:00 |
|