mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 17:32:22 -07:00
Fix enum type comparison; Start demo 003 code
This commit is contained in:
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user