mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-05 10:14:05 +00:00
Add bit_field as a keyword
This commit is contained in:
@@ -4114,8 +4114,10 @@ gb_internal isize check_is_assignable_to_using_subtype(Type *src, Type *dst, isi
|
||||
}
|
||||
if (allow_polymorphic && dst_is_polymorphic) {
|
||||
Type *fb = base_type(type_deref(f->type));
|
||||
if (fb->kind == Type_Struct && fb->Struct.polymorphic_parent == dst) {
|
||||
return true;
|
||||
if (fb->kind == Type_Struct) {
|
||||
if (fb->Struct.polymorphic_parent == dst) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user