Add Type -- Runtime type for comparing types (similar to TypeInfo but simpler)
This commit is contained in:
1 parent
d167290b28
commit
001baf4419
10 files changed
+167
-40
No files matched your search
@@ -61,6 +61,7 @@ TypeInfo :: union {
|
||||
String{},
|
||||
Boolean{},
|
||||
Any{},
|
||||
Type{},
|
||||
Pointer{
|
||||
elem: ^TypeInfo, // nil -> rawptr
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user