blob: 692b1827600d72e8090c2bc8d73c5125b7eff2e0 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract Base {
constructor(uint) public {}
}
contract Derived is Base(2) { }
contract Derived2 is Base(), Derived() { }
// ----
// TypeError: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1. Remove parentheses if you do not want to provide arguments here.
|