aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2021-01-08 21:46:37 +0100
committerDanielGavin <danielgavin5@hotmail.com>2021-01-08 21:46:37 +0100
commit2b7fa34900cf0814c23aba4cc675a08efb2bb9fa (patch)
tree75eee0a56fae7dca246e7d6db491b10d0d98d968 /src
parent4c9f32b8b83e42c6ebef9a787208d7cdf685263a (diff)
index unknown symbols as generics
Diffstat (limited to 'src')
-rw-r--r--src/index/collector.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index/collector.odin b/src/index/collector.odin
index 8b1560a..3331ad0 100644
--- a/src/index/collector.odin
+++ b/src/index/collector.odin
@@ -251,7 +251,8 @@ collect_symbols :: proc(collection: ^SymbolCollection, file: ast.File, uri: stri
token_type = .Keyword;
symbol.value = collect_generic(collection, expr.expr, package_map);
case: // default
- //log.infof("default %v", value_decl.values[0].derived);
+ symbol.value = collect_generic(collection, expr.expr, package_map);
+ token = expr.expr;
break;
}