mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Explicitly handle previously implicitly handled case
This commit is contained in:
@@ -1410,6 +1410,7 @@ gb_internal bool is_polymorphic_type_assignable(CheckerContext *c, Type *poly, T
|
|||||||
poly->Struct.soa_kind != StructSoa_None) {
|
poly->Struct.soa_kind != StructSoa_None) {
|
||||||
bool ok = is_polymorphic_type_assignable(c, poly->Struct.soa_elem, source->Struct.soa_elem, true, modify_type);
|
bool ok = is_polymorphic_type_assignable(c, poly->Struct.soa_elem, source->Struct.soa_elem, true, modify_type);
|
||||||
if (ok) switch (source->Struct.soa_kind) {
|
if (ok) switch (source->Struct.soa_kind) {
|
||||||
|
case StructSoa_None:
|
||||||
default:
|
default:
|
||||||
GB_PANIC("Unhandled SOA Kind");
|
GB_PANIC("Unhandled SOA Kind");
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user