mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 15:05:00 -07:00
Fix #3471
This commit is contained in:
+2
-2
@@ -3224,7 +3224,7 @@ gb_internal Selection lookup_field_with_selection(Type *type_, String field_name
|
||||
}
|
||||
}
|
||||
if (type->kind == Type_Struct) {
|
||||
wait_signal_until_available(&type->Struct.fields_wait_signal);
|
||||
// wait_signal_until_available(&type->Struct.fields_wait_signal);
|
||||
isize field_count = type->Struct.fields.count;
|
||||
if (field_count != 0) for_array(i, type->Struct.fields) {
|
||||
Entity *f = type->Struct.fields[i];
|
||||
@@ -3254,7 +3254,7 @@ gb_internal Selection lookup_field_with_selection(Type *type_, String field_name
|
||||
}
|
||||
|
||||
if (type->kind == Type_Struct) {
|
||||
wait_signal_until_available(&type->Struct.fields_wait_signal);
|
||||
// wait_signal_until_available(&type->Struct.fields_wait_signal);
|
||||
Scope *s = type->Struct.scope;
|
||||
if (s != nullptr) {
|
||||
Entity *found = scope_lookup_current(s, field_name);
|
||||
|
||||
Reference in New Issue
Block a user