refactor and func -> proc rename
This commit is contained in:
@@ -9,7 +9,7 @@ TestTokenKind :: enum(u8) {
|
||||
TestNames :: alias EnumFieldStruct(TestTokenKind, ?[]u8, some!(null))
|
||||
TestArrayAlias :: alias [3]u16
|
||||
|
||||
hide array_info_matches func($Array, $Child type, $len usize) bool {
|
||||
hide array_info_matches proc($Array, $Child type, $len usize) bool {
|
||||
match typeinfo!(Array) {
|
||||
.array |info|: return info.child == Child and info.len == len
|
||||
else: return false
|
||||
|
||||
Reference in New Issue
Block a user