Fix some if directive stuff. Fix a property output issue. Will be deprecated next commit anyway.

This commit is contained in:
2025-09-17 12:30:36 +02:00
parent 7fefe0ecf6
commit 8b2141df16
19 changed files with 174 additions and 95 deletions

View File

@@ -1048,6 +1048,8 @@ declare_properties :: (checker : *Checker, node : *AST_Node) -> Type_Variable_Ha
if node.name.count > 0 {
checker.ctx.property_name = name;
} else {
checker.ctx.property_name = "properties";
}
type_var := declare_struct(checker, node, name);
var := from_handle(checker, type_var);