First step towards constant unions

This commit is contained in:
gingerBill
2025-09-28 19:52:52 +01:00
parent 0233dc5d31
commit a974c51d57
4 changed files with 81 additions and 32 deletions

View File

@@ -3520,7 +3520,7 @@ gb_internal bool is_type_union_constantable(Type *type) {
return false;
}
}
return false;
return true;
}
gb_internal bool check_cast_internal(CheckerContext *c, Operand *x, Type *type) {