From bdc72eb794affc505ab45c812292fd9ce25c6dba Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Thu, 5 Sep 2024 15:29:25 -0400 Subject: [PATCH] Remove commented-out code --- Signed-off-by: Michael Ferguson --- frontend/lib/resolution/resolution-queries.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/frontend/lib/resolution/resolution-queries.cpp b/frontend/lib/resolution/resolution-queries.cpp index 0d29f458b10b..d27b9e88c407 100644 --- a/frontend/lib/resolution/resolution-queries.cpp +++ b/frontend/lib/resolution/resolution-queries.cpp @@ -2796,13 +2796,6 @@ scopeResolveFunctionQueryBody(Context* context, ID id) { // cause it to be scope resolved). for (auto child: fn->children()) { child->traverse(visitor); - - // Recompute the method receiver after the 'this' formal is - // scope-resolved, when we might be able to gather some information - // about the type on which the method is declared. - //if (fn->isMethod() && child == fn->thisFormal()) { - // visitor.methodReceiverScopes(/*recompute=*/true); - //} } checkForParenlessMethodFieldRedefinition(context, fn, visitor);