diff --git a/src/compiler/sema_expr.c b/src/compiler/sema_expr.c index edf51b299..46e06aa51 100644 --- a/src/compiler/sema_expr.c +++ b/src/compiler/sema_expr.c @@ -4780,7 +4780,10 @@ static bool sema_expr_analyse_shift(SemaContext *context, Expr *expr, Expr *left */ static bool sema_expr_analyse_shift_assign(SemaContext *context, Expr *expr, Expr *left, Expr *right) { - + if (left->expr_kind == EXPR_CT_IDENT) + { + return sema_binary_analyse_ct_common_assign(context, expr, left); + } // 1. Analyze the two sub lhs & rhs *without coercion* if (!sema_binary_analyse_subexpr(context, expr, left, right)) return false; diff --git a/src/version.h b/src/version.h index 5977f700d..4064bfd1b 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define COMPILER_VERSION "0.3.97" \ No newline at end of file +#define COMPILER_VERSION "0.3.98" \ No newline at end of file