mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-15 07:31:26 -07:00
Fix for in enum iteration
This commit is contained in:
@@ -37,7 +37,6 @@ Type_Info_Enum_Value :: union {
|
||||
rune,
|
||||
i8, i16, i32, i64, int,
|
||||
u8, u16, u32, u64, uint, uintptr,
|
||||
f32, f64,
|
||||
};
|
||||
|
||||
// Variant Types
|
||||
|
||||
@@ -299,7 +299,7 @@ type_assertion_check :: proc "contextless" (ok: bool, file: string, line, column
|
||||
|
||||
fd := os.stderr;
|
||||
__print_caller_location(fd, Source_Code_Location{file, line, column, ""});
|
||||
os.write_string(fd, " Invalid type assertion from");
|
||||
os.write_string(fd, " Invalid type assertion from ");
|
||||
__print_typeid(fd, from);
|
||||
os.write_string(fd, " to ");
|
||||
__print_typeid(fd, to);
|
||||
|
||||
Reference in New Issue
Block a user