feat: infer compile-time metadata locals

This commit is contained in:
2026-10-31 10:50:37 +01:00
parent 4fea18b834
commit e036070bf2
7 changed files with 419 additions and 78 deletions
+1 -1
View File
@@ -1470,7 +1470,7 @@ tagged_type_metadata_recompiles_owned_private_nominal_payloads test {
` return i16(saved.payload.count) + bias
`}
`score_local proc(bias i16) i16 {
` config Config := { children = [Child, null], count = 2 }
` config := Config { children = [Child, null], count = 2 }
` saved :: config
` config.children[0] = bool
` if (saved.children[0]? != Child) return -1