Updates Changelog, syntax test and simplifies type checker.

This commit is contained in:
Erik Kundt
2018-07-11 01:58:17 +02:00
parent 038554abe0
commit 34a031609e
2 changed files with 2 additions and 10 deletions
@@ -1,13 +1,7 @@
contract Base {
constructor(uint) public {}
}
contract Base2 {
constructor(uint, uint) public {}
}
contract Derived is Base(2) { }
contract Derived2 is Base(), Derived() { }
contract Derived3 is Base2(2,2) { }
contract Derived4 is Base2(2), Derived() { }
// ----
// TypeError: (156-162): Wrong argument count for constructor call: 0 arguments given but expected 1.
// TypeError: (235-243): Wrong argument count for constructor call: 1 arguments given but expected 2.
// TypeError: (101-107): Wrong argument count for constructor call: 0 arguments given but expected 1.