Fix enum type comparison; Start demo 003 code

This commit is contained in:
Ginger Bill
2016-09-21 23:26:31 +01:00
parent 33bd3f635f
commit 664c2cd7a5
11 changed files with 361 additions and 48 deletions
+1 -2
View File
@@ -1348,9 +1348,8 @@ isize ssa_type_info_index(CheckerInfo *info, Type *type) {
}
}
if (entry_index < 0) {
gb_printf_err("%s\n", type_to_string(type));
compiler_error("Type_Info for `%s` could not be found", type_to_string(type));
}
GB_ASSERT(entry_index >= 0);
return entry_index;
}