mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix assigning issue for bit sets
This commit is contained in:
+3
-3
@@ -503,9 +503,9 @@ i64 check_distance_between_types(CheckerContext *c, Operand *operand, Type *type
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_type_bit_set(dst) && are_types_identical(dst->BitSet.base_type, operand->type)) {
|
// if (is_type_bit_set(dst) && are_types_identical(dst->BitSet.base_type, operand->type)) {
|
||||||
return 3;
|
// return 3;
|
||||||
}
|
// }
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (are_types_identical(dst, src) && (!is_type_named(dst) || !is_type_named(src))) {
|
if (are_types_identical(dst, src) && (!is_type_named(dst) || !is_type_named(src))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user