aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-06-27 07:12:22 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-06-27 07:14:46 -0400
commit54297d32691c180d83d4fab24cd29c6ac7474e26 (patch)
treeb51fd6265babf551e56d240b40a498977f9c04ee /src/server
parent344eea71fbf1863106bc051dbae11534e7dcca74 (diff)
Correctly resolve references with param_expr
Diffstat (limited to 'src/server')
-rw-r--r--src/server/file_resolve.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/file_resolve.odin b/src/server/file_resolve.odin
index 3a921d4..18f4fae 100644
--- a/src/server/file_resolve.odin
+++ b/src/server/file_resolve.odin
@@ -205,7 +205,7 @@ resolve_node :: proc(node: ^ast.Node, data: ^FileResolveData) {
#partial switch v in n.expr.derived {
// TODO: Should there be more here?
- case ^ast.Selector_Expr, ^ast.Index_Expr, ^ast.Ident:
+ case ^ast.Selector_Expr, ^ast.Index_Expr, ^ast.Ident, ^ast.Paren_Expr:
resolve_node(n.expr, data)
}
} else {