diff options
| author | Bradley Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-11-02 16:32:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-02 16:32:17 -0500 |
| commit | 5163a1a307b920b5ba4bc26131536f97546c7052 (patch) | |
| tree | ec6df970012a7cf601202059c54f9af9a03158a1 /src | |
| parent | 06822469106aa36774ce26c4e75d5a3ae4c21efc (diff) | |
| parent | ee0663c69bedb74086662b53193fc99e23c00d42 (diff) | |
Merge pull request #1145 from BradLewis/fix/parapoly-typedef-returnsdev-2025-10
Add missing resolves for parapoly types
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/symbol.odin | 9 |
1 files changed, 9 insertions, 0 deletions
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 |