From 7f72d9240ea57761dc9222841be7e35ee4475850 Mon Sep 17 00:00:00 2001 From: Koby Date: Mon, 15 Jan 2024 14:13:42 +0100 Subject: [PATCH] feat(lsp): goto global --- compiler/noirc_frontend/src/resolve_locations.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/noirc_frontend/src/resolve_locations.rs b/compiler/noirc_frontend/src/resolve_locations.rs index bfacee0ef96..95ced906984 100644 --- a/compiler/noirc_frontend/src/resolve_locations.rs +++ b/compiler/noirc_frontend/src/resolve_locations.rs @@ -75,6 +75,7 @@ impl NodeInterner { Some(self.function_meta(&func_id).location) } DefinitionKind::Local(_local_id) => Some(definition_info.location), + DefinitionKind::Global(_global_id) => Some(definition_info.location), _ => None, } }