diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-11 07:44:51 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-11 07:58:17 +0800 |
commit | 7c7e154a7b93d880fd173f6d633b8767f12e2469 (patch) | |
tree | d12932935933e051c1ed2a1819e16f128c849735 /test/libsolidity/syntaxTests/nameAndTypeResolution | |
parent | 34a031609e1e7c5358f0e716eeb8ef1c4d25c81a (diff) | |
download | dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar.gz dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar.bz2 dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar.lz dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar.xz dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.tar.zst dexon-solidity-7c7e154a7b93d880fd173f6d633b8767f12e2469.zip |
Improves error with suggestion to remove parantheses.
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/525_reject_interface_constructors.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/525_reject_interface_constructors.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/525_reject_interface_constructors.sol index d65c639f..ad08eca6 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/525_reject_interface_constructors.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/525_reject_interface_constructors.sol @@ -1,4 +1,4 @@ interface I {} contract C is I(2) {} // ---- -// TypeError: (29-33): Wrong argument count for constructor call: 1 arguments given but expected 0. +// TypeError: (29-33): Wrong argument count for constructor call: 1 arguments given but expected 0. Remove parentheses if you do not want to provide arguments here. |