blob: 1ce48200160d09ac57bb17c16cd577562b76b8d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
contract Base {
constructor(uint, uint) public {}
}
contract Derived is Base(2) { }
contract Derived2 is Base {
constructor() Base(2) public { }
}
// ----
// TypeError: (74-81): Wrong argument count for constructor call: 1 arguments given but expected 2. Remove parentheses if you do not want to provide arguments here.
// TypeError: (130-137): Wrong argument count for modifier invocation: 1 arguments given but expected 2.
|