mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
+1
-1
@@ -3038,7 +3038,7 @@ gb_internal void check_shift(CheckerContext *c, Operand *x, Operand *y, Ast *nod
|
|||||||
x->mode = Addressing_Value;
|
x->mode = Addressing_Value;
|
||||||
if (type_hint) {
|
if (type_hint) {
|
||||||
if (is_type_integer(type_hint)) {
|
if (is_type_integer(type_hint)) {
|
||||||
x->type = type_hint;
|
convert_to_typed(c, x, type_hint);
|
||||||
} else {
|
} else {
|
||||||
gbString x_str = expr_to_string(x->expr);
|
gbString x_str = expr_to_string(x->expr);
|
||||||
gbString to_type = type_to_string(type_hint);
|
gbString to_type = type_to_string(type_hint);
|
||||||
|
|||||||
Reference in New Issue
Block a user