From ee0663c69bedb74086662b53193fc99e23c00d42 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 2 Nov 2025 16:24:20 -0500 Subject: Add missing resolves for parapoly types --- src/server/symbol.odin | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/server/symbol.odin') diff --git a/src/server/symbol.odin b/src/server/symbol.odin index 4f9539d..6cf24df 100644 --- a/src/server/symbol.odin +++ b/src/server/symbol.odin @@ -841,6 +841,15 @@ symbol_to_expr :: proc(symbol: Symbol, file: string, allocator := context.temp_a case SymbolStructValue: type := new_type(ast.Struct_Type, pos, end, allocator) return type + case SymbolEnumValue: + type := new_type(ast.Enum_Type, pos, end, allocator) + return type + case SymbolUnionValue: + type := new_type(ast.Union_Type, pos, end, allocator) + return type + case SymbolBitSetValue: + type := new_type(ast.Bit_Set_Type, pos, end, allocator) + return type case SymbolUntypedValue: type := new_type(ast.Basic_Lit, pos, end, allocator) type.tok = v.tok -- cgit v1.2.3