mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Error when using no parentheses in modifier-style constructor calls.
This commit is contained in:
+1
-2
@@ -1,3 +1,2 @@
|
||||
contract A { constructor() public { } }
|
||||
contract B1 is A { constructor() A() public { } }
|
||||
contract B2 is A { constructor() A public { } }
|
||||
contract B is A { constructor() A() public { } }
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
contract A { constructor() public { } }
|
||||
contract B is A { constructor() A public { } }
|
||||
// ----
|
||||
// Warning: Modifier-style base constructor call without arguments.
|
||||
Reference in New Issue
Block a user