diff options
author | chriseth <chris@ethereum.org> | 2018-06-29 06:06:51 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-01 19:28:27 +0800 |
commit | 7e5406dd8953cb819c397221fa55e6fa390108ee (patch) | |
tree | cf16b432bf0cc89f05a61b0d0fe6d2ba1e99af7f /test/libsolidity | |
parent | ef269bf40d3c6fc044c27654473353c556402b77 (diff) | |
download | dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.gz dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.bz2 dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.lz dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.xz dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.zst dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.zip |
Disallow calling base constructors without arguments.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol b/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol index 6cf68d2a..8f5ceef8 100644 --- a/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol +++ b/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol @@ -1,4 +1,4 @@ contract A { constructor() public { } } contract B is A { constructor() A public { } } // ---- -// Warning: (72-73): Modifier-style base constructor call without arguments. +// DeclarationError: (72-73): Modifier-style base constructor call without arguments. |