mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Cleans up syntax test.
This commit is contained in:
parent
7c7e154a7b
commit
e7dc9d27fc
@ -1,10 +1,7 @@
|
|||||||
contract Base {
|
contract Base {
|
||||||
constructor(uint) public {}
|
constructor(uint) public {}
|
||||||
}
|
}
|
||||||
contract Base2 {
|
|
||||||
constructor(uint, uint) public {}
|
|
||||||
}
|
|
||||||
contract Derived is Base(2) { }
|
contract Derived is Base(2) { }
|
||||||
contract Derived2 is Base(), Derived() { }
|
contract Derived2 is Base(), Derived() { }
|
||||||
// ----
|
// ----
|
||||||
// TypeError: (156-162): Wrong argument count for constructor call: 0 arguments given but expected 1. Remove parentheses if you do not want to provide arguments here.
|
// 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user