ETH Price: $3,620.27 (+0.11%)

Solidity Bug Info

Bug Name Description Severity
OneOfTwoConstructorsSkipped
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.
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