aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-07-11 07:44:51 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-11 07:58:17 +0800
commit7c7e154a7b93d880fd173f6d633b8767f12e2469 (patch)
treed12932935933e051c1ed2a1819e16f128c849735 /test/libsolidity/syntaxTests/nameAndTypeResolution
parent34a031609e1e7c5358f0e716eeb8ef1c4d25c81a (diff)
downloaddexon-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.sol2
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.