inherited_constructor_arguments.sol 247 B

12345678910111213141516171819
  1. contract a is b(1) {
  2. constructor() {}
  3. }
  4. contract b is c(2) {
  5. int256 foo;
  6. function func2(int256 i) public {}
  7. constructor(int256 j) {}
  8. }
  9. contract c {
  10. int256 bar;
  11. constructor(int32 j) {}
  12. function func1() public {}
  13. }