mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 04:42:15 -04:00
Source_Code_Location.hash; %#v printing for Source_Code_Location; allow typeid for map keys
This commit is contained in:
1 parent
aac643f476
commit
5acea1bceb
6 files changed
+58
-6
No files matched your search
@@ -1151,6 +1151,9 @@ bool is_type_valid_for_keys(Type *t) {
|
||||
if (is_type_pointer(t)) {
|
||||
return true;
|
||||
}
|
||||
if (is_type_typeid(t)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user