remove %% prefix operator
See #632 closes #545 closes #510 this makes #651 higher priority
This commit is contained in:
@@ -3963,8 +3963,6 @@ static IrInstruction *ir_gen_prefix_op_expr(IrBuilder *irb, Scope *scope, AstNod
|
||||
return ir_lval_wrap(irb, scope, ir_gen_prefix_op_id(irb, scope, node, IrUnOpMaybe), lval);
|
||||
case PrefixOpError:
|
||||
return ir_lval_wrap(irb, scope, ir_gen_prefix_op_id(irb, scope, node, IrUnOpError), lval);
|
||||
case PrefixOpUnwrapError:
|
||||
return ir_gen_err_assert_ok(irb, scope, node, node->data.prefix_op_expr.primary_expr, lval);
|
||||
case PrefixOpUnwrapMaybe:
|
||||
return ir_gen_maybe_assert_ok(irb, scope, node, lval);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user