Solidity Bug Info
Bug Name | Description | Severity |
---|---|---|
OneOfTwoConstructorsSkippedIf a contract has both a new-style constructor (using the constructor keyword) and an old-style constructor (a function with the same name as the contract) at the same time, one of them will be ignored. | If a contract has both a new-style constructor (using the constructor keyword) and an old-style constructor (a function with the same name as the contract) at the same time, one of them will be ignored. There will be a compiler warning about the old-style constructor, so contracts only using new-style constructors are fine. - First Introduced: 0.4.22 - Fixed in Version: 0.4.23 - Published: - Severity<: very low | very low |