Closed as not planned
Description
It is currently possible to do this:
pragma solidity ^0.4.3;
contract Constants {
uint constant FLAG = 0x1;
}
contract Test is Constants {
function x() returns (uint) {
return Constants.FLAG;
}
}
But surely it should be possible to do this:
pragma solidity ^0.4.3;
contract Constants {
uint constant FLAG = 0x1;
}
contract Test {
function x() returns (uint) {
return Constants.FLAG;
}
}
Metadata
Metadata
Assignees
Labels
The issue/PR was automatically closed due to inactivity.Any changes to the language, e.g. new featuresThere is not much implementation work to be done. The task is very easy or tiny.Changes are not very noticeable or potential benefits are limited.The issue/PR was marked as stale because it has been open for too long.