Closed shuvendu-lahiri closed 5 years ago
Generate extra arguments for base constructor calls when derived constructor takes and argument, but base constructor does not.
pragma solidity ^0.4.24; contract BaseContract { constructor() { } } contract DerivedContract is BaseContract { //derived class takes an extra parameter constructor(uint x) { } }
Generate extra arguments for base constructor calls when derived constructor takes and argument, but base constructor does not.