From e59c54f8bc640c7dc8ccef96d538e728c47bc08e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 11 Mar 2026 00:49:03 +0100 Subject: Track the symbol type --- oryxc/src/compiler.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'oryxc/src/compiler.rs') diff --git a/oryxc/src/compiler.rs b/oryxc/src/compiler.rs index 50a641e..3bfe6c1 100644 --- a/oryxc/src/compiler.rs +++ b/oryxc/src/compiler.rs @@ -381,7 +381,10 @@ fn worker_loop( }; let symid = c_state.interner.intern(view); - let sym = Symbol::default(); + let sym = Symbol { + state: ResolutionState::Unresolved, + kind: SymbolType::Constant, + }; if let Some(mut sym) = scope.symtab.insert(symid, sym, &arena) -- cgit v1.2.3