aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-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])
}