diff options
Diffstat (limited to 'src/server/analysis.odin')
| -rw-r--r-- | src/server/analysis.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index ec5dee5..f3dba05 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -1497,6 +1497,9 @@ expand_struct_usings :: proc(ast_context: ^AstContext, symbol: Symbol, value: Sy } } } + + //We have to resolve the expressions two times, so clear it to prevent it from being picked up as recursion. + delete_key(&ast_context.recursion_map, value.types[k]) } if .ObjC in symbol.flags { |