Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
---
Signed-off-by: Michael Ferguson <[email protected]>
  • Loading branch information
mppf committed Sep 5, 2024
1 parent 0d4d17d commit bdc72eb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions frontend/lib/resolution/resolution-queries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bdc72eb

Please sign in to comment.