mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove out of date TODOs
This commit is contained in:
parent
f9a6da293f
commit
c274d07a73
@ -178,7 +178,6 @@ struct ConstStateVarCircularReferenceChecker: public PostTypeChecker::Checker
|
||||
|
||||
bool visit(Identifier const& _identifier) override
|
||||
{
|
||||
// TODO add user defined operators?
|
||||
if (m_currentConstVariable)
|
||||
if (auto var = dynamic_cast<VariableDeclaration const*>(_identifier.annotation().referencedDeclaration))
|
||||
if (var->isConstant())
|
||||
|
@ -314,7 +314,6 @@ struct MemberAccessAnnotation: ExpressionAnnotation
|
||||
|
||||
struct OperationAnnotation: ExpressionAnnotation
|
||||
{
|
||||
// TODO should this be more like "referencedDeclaration"?
|
||||
FunctionDefinition const* userDefinedFunction = nullptr;
|
||||
};
|
||||
|
||||
|
@ -60,7 +60,6 @@ function geq(Int x, Int) pure returns (bool) {
|
||||
return uw(x) >= 10;
|
||||
}
|
||||
|
||||
// TODO test that side-effects are executed properly.
|
||||
contract C {
|
||||
function test_bitor() public pure returns (Int) { return w(1) | w(2); }
|
||||
function test_bitand() public pure returns (Int) { return w(1) | w(2); }
|
||||
|
Loading…
Reference in New Issue
Block a user