Add Type -- Runtime type for comparing types (similar to TypeInfo but simpler)

This commit is contained in:
Ginger Bill
2017-06-29 15:13:41 +01:00
parent d167290b28
commit 001baf4419
10 changed files with 167 additions and 40 deletions
+1
View File
@@ -61,6 +61,7 @@ TypeInfo :: union {
String{},
Boolean{},
Any{},
Type{},
Pointer{
elem: ^TypeInfo, // nil -> rawptr
},