aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-06-29 15:24:30 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-06-29 15:29:58 -0400
commit069218700de8308862b87c35cc640cdce8f2b94b (patch)
tree4a1449050955a0c3c15557ee57c88d184216b018 /src
parent5a8a0548b5f2b61b381912c20972b3872d8b0795 (diff)
Expand Struct_Type usings
Diffstat (limited to 'src')
-rw-r--r--src/server/symbol.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/symbol.odin b/src/server/symbol.odin
index a458f9e..b795a96 100644
--- a/src/server/symbol.odin
+++ b/src/server/symbol.odin
@@ -409,6 +409,8 @@ expand_usings :: proc(ast_context: ^AstContext, b: ^SymbolStructValueBuilder) {
write_symbol_struct_value(ast_context, b, v, u)
}
}
+ } else if v, ok := field_expr.derived.(^ast.Struct_Type); ok {
+ write_struct_type(ast_context, b, v^, ast_context.field_name, {}, u)
}
delete_key(&ast_context.recursion_map, b.types[u])
}