diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-01-21 23:39:23 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2023-01-21 23:39:23 +0100 |
| commit | 532f4bf07c5830276dc4fef9ec497bf917adc8d5 (patch) | |
| tree | 0c9bb33cf560a4290d6b572d1aae4528e6d85dde /src/server/symbol.odin | |
| parent | 421a620e731886bb76d6831a1b617d9e7cd9e873 (diff) | |
Fix bug where with `for in` in `for in`
Diffstat (limited to 'src/server/symbol.odin')
| -rw-r--r-- | src/server/symbol.odin | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin index 215e01c..8f7a081 100644 --- a/src/server/symbol.odin +++ b/src/server/symbol.odin @@ -17,11 +17,13 @@ SymbolAndNode :: struct { } SymbolStructValue :: struct { - names: []string, - ranges: []common.Range, - types: []^ast.Expr, - usings: map[string]bool, - poly: ^ast.Field_List, + names: []string, + ranges: []common.Range, + types: []^ast.Expr, + usings: map[string]bool, + poly: ^ast.Field_List, + objc_name: string, + objc_is_class_method: bool, } SymbolPackageValue :: struct {} @@ -130,6 +132,7 @@ SymbolFlag :: enum { Anonymous, //Usually applied to structs that are defined inline inside another struct Variable, //Symbols that are variable, this means their value decl was mutable Local, + ObjC, } SymbolFlags :: bit_set[SymbolFlag] |