Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuf239 committed Sep 11, 2024
1 parent 90dd5af commit e362a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@winglang/wingc/src/lsp/rename_visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl<'a> Visit<'a> for RenameVisitor<'a> {
ExprKind::Call { arg_list, callee } => {
let Some(env) = self.ctx.current_env() else {
// usually the env will exist, if not- we cannot use it to resolve the super method.
// it's the same as used here: packages/@winglang/wingc/src/lsp/symbol_locator.rs
// it's the same as used here: https://github.com/winglang/wing/blob/main/packages/@winglang/wingc/src/lsp/symbol_locator.rs#L374-L376
return;
};
// we need to get the struct from the callee - to get the right env
Expand Down

0 comments on commit e362a6c

Please sign in to comment.