feat: support existing enum map initialization and lookup

This commit is contained in:
2026-10-29 16:09:16 +01:00
parent 6f892bbfcc
commit 026fe36325
12 changed files with 409 additions and 27 deletions
+1
View File
@@ -44,4 +44,5 @@ get proc($E, $V type, map @EnumMap(E, V), key E) ?V {
}
else: compile_error!("EnumMap key must be an enum")
}
return null
}