using Foo :: enum {A, B, C}; len(Foo)

This commit is contained in:
gingerBill
2018-07-29 10:50:15 +01:00
parent 49f2124df0
commit 6512a3e5f2
11 changed files with 60 additions and 73 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ Type_Info_Enum :: struct {
base: ^Type_Info,
names: []string,
values: []Type_Info_Enum_Value,
is_export: bool,
is_using: bool, // TODO(bill): Should this be in the `Type_Info`?
};
Type_Info_Map :: struct {
key: ^Type_Info,