mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-10 23:05:32 -04:00
Fix #2286 by printing an error correctly
This commit is contained in:
1 parent
a5a7226885
commit
5d397804f7
3 files changed
+12
-1
No files matched your search
@@ -4898,6 +4898,9 @@ gb_internal bool is_type_normal_pointer(Type *ptr, Type **elem) {
|
||||
|
||||
gb_internal bool is_type_valid_atomic_type(Type *elem) {
|
||||
elem = core_type(elem);
|
||||
if (is_type_internally_pointer_like(elem)) {
|
||||
return true;
|
||||
}
|
||||
if (elem->kind == Type_BitSet) {
|
||||
elem = bit_set_to_int(elem);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user