Fix assigning issue for bit sets

This commit is contained in:
gingerBill
2018-08-14 18:43:47 +01:00
parent 79a3c0b36c
commit c7d6467cfa

View File

@@ -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)) {
return 3;
}
// if (is_type_bit_set(dst) && are_types_identical(dst->BitSet.base_type, operand->type)) {
// return 3;
// }
#if 0
if (are_types_identical(dst, src) && (!is_type_named(dst) || !is_type_named(src))) {