File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3260,7 +3260,7 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
32603260 accessedMemberAnnotation.referencedDeclaration = possibleMembers.front ().declaration ;
32613261 accessedMemberAnnotation.type = possibleMembers.front ().type ;
32623262
3263- // TODO: Explain
3263+ // Lookup type required to find the function declaration. Set default to `static`.
32643264 VirtualLookup requiredLookup = VirtualLookup::Static;
32653265
32663266 if (auto accessedMemberFunctionTypeType = dynamic_cast <FunctionType const *>(accessedMemberAnnotation.type ))
@@ -3496,7 +3496,8 @@ bool TypeChecker::visit(MemberAccess const& _memberAccess)
34963496
34973497 accessedMemberAnnotation.isLValue = isAccessedMemberLValue;
34983498
3499- // TODO: Leave it for now, but it should be moved to TypeType -> Contract case
3499+ // TODO: Leave it for now, but it should be moved to TypeType -> Contract case.
3500+ // We do not want to change the logic in refactor PR.
35003501 if (
35013502 auto const * varDecl = dynamic_cast <VariableDeclaration const *>(accessedMemberAnnotation.referencedDeclaration );
35023503 !accessedMemberAnnotation.isPure .set () &&
You can’t perform that action at this time.
0 commit comments