Commit Graph

26 Commits

Author SHA1 Message Date
hrkrshnn
e107d51f46 Disallow certain implicit conversions between integer types.
Disallow implicit conversion from ``uintN`` and ``intM`` when ``M > N``, and by extension, explicit
conversion between the same types are also disallowed.
2021-01-12 08:23:47 +01: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
hrkrshnn
40244c5469 Tests/Docs after stricter explicit conversion. 2020-12-03 16:51:05 +01:00
chriseth
9743390a53 Update tests. 2020-07-07 12:16:18 +02:00
Djordje Mijovic
4c3e78d046 Disallowing shifts by signed types 2020-05-26 10:18:21 +02:00
Harikrishnan Mulackal
92cf61d4f9 fixed compilation tests and upgraded ext. tests branch 2020-05-05 21:11:15 +05:30
hrkrshnn
7e2cb9b57c Removed virtual from a library function in gnosis test 2020-04-03 15:49:50 +05:30
Erik Kundt
19d466d6fb Fixes named return natspec errors in compilation tests. 2019-12-04 15:38:12 +01:00
Mathias Baumann
5b8ff78176 Implement virtual keyword 2019-11-14 11:49:39 +01:00
cd10012
a94d22e5fe Add documentation for extractReturnParameterDocs 2019-11-06 21:45:01 +01:00
cd10012
f598b1515f Give unamed parameters unique keys and update tests to new spec
Fix whitespace
2019-11-06 21:44:34 +01:00
Alexander Arlt
cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
Mathias Baumann
6c6a9054b2 Implement override checking 2019-10-30 17:31:33 +01:00
chriseth
9e6356a763 Set pragma to arbitrary. 2018-10-24 14:52:55 +02:00
Daniel Kirchner
8781990ff3 Remove trailing whitespace in all contract files. 2018-08-01 21:57:12 +02:00
chriseth
b800bfb021 Fix tests regarding contract type conversion. 2018-08-01 11:04:35 +01:00
Chase McDermott
3267adcd14 Added default data locations to docs and other external tests. 2018-07-14 16:42:43 -05:00
Erik Kundt
febbfd4204 Adds visibility to compilation tests. 2018-07-04 19:20:51 +02:00
Daniel Kirchner
9d23fd8013 Update compilation tests. 2018-07-02 18:58:44 +02:00
chriseth
4a842ecc82
Merge pull request #4097 from ethereum/noPackedExceptForPacked
[BREAKING] call only takes a single argument and does not pad
2018-06-27 18:29:01 +02:00
chriseth
01fd5a8d51 Add emit keyword to compilation tests. 2018-06-27 10:37:46 +02:00
Erik Kundt
95c3488a26 Updates external contracts to new constructor syntax. 2018-06-26 00:00:32 +02:00
chriseth
e299a0031f Update compilation tests. 2018-06-25 17:17:48 +02:00
Alex Beregszaszi
3ee3018bf6 Update external contracts in compilationTests (to support strict address literals) 2018-06-25 16:17:50 +02:00
Christian Parpart
6de24b1c5e test: drop var-keyword in compilationTests in favor of explicit types 2018-06-21 14:14:16 +02:00
chriseth
b1c1fb6c83 Gnosis compilation contracts. 2017-07-12 15:55:11 +02:00