inherited_constructor_runtime_arguments.sol 266 B

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