Skip to content

Commit edf8ebe

Browse files
refactor: don't visit entire AST of function
Co-authored-by: Giacomo Cavalieri <[email protected]>
1 parent 1107538 commit edf8ebe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-core/src/language_server/code_action.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,6 @@ impl<'ast> ast::visit::Visit<'ast> for AnnotateTopLevelDefinitions<'_> {
14311431
let mut printer = Printer::new_without_type_variables(&self.module.ast.names);
14321432
collect_type_variables(&mut printer, fun);
14331433

1434-
ast::visit::visit_typed_function(self, fun);
14351434

14361435
let code_action_range = self.edits.src_span_to_lsp_range(
14371436
fun.body_start

0 commit comments

Comments
 (0)