mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 09:54:45 +00:00
Source_Code_Location.hash; %#v printing for Source_Code_Location; allow typeid for map keys
This commit is contained in:
@@ -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