feat: support existing enum map initialization and lookup
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user