make record fields resolve type-factory calls before runtime validation

This commit is contained in:
2026-07-20 15:49:52 +02:00
parent ec36b6b861
commit 05aa7d084a
5 changed files with 76 additions and 12 deletions
+8
View File
@@ -2,6 +2,14 @@ arraylist :: import "@std/arraylist"
mem :: import "@std/mem"
std :: import "@std"
Token :: struct { value i32 }
ScanDiagnostic :: struct { value i32 }
State :: struct {
tokens std.ArrayList(Token)
diagnostics std.ArrayList(ScanDiagnostic)
}
hide fail_alloc func(_ ?@mut anyopaque, _ usize, _ usize) ?*mut u8 {
return none
}