Remove out of date TODOs

This commit is contained in:
wechman
2022-09-28 12:05:41 +02:00
parent f9a6da293f
commit c274d07a73
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -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())
-1
View File
@@ -314,7 +314,6 @@ struct MemberAccessAnnotation: ExpressionAnnotation
struct OperationAnnotation: ExpressionAnnotation
{
// TODO should this be more like "referencedDeclaration"?
FunctionDefinition const* userDefinedFunction = nullptr;
};