mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Interface based streams. Fix for initializing with a force unwrap inside. Allow $define to take a list. Allow $define to return error on argument type mismatch in call. Fixed broken bit operations on boolean vectors.
This commit is contained in:
committed by
Christoffer Lerno
parent
e4c1328ef2
commit
1aa038c92f
@@ -5810,7 +5810,7 @@ static void llvm_emit_call_expr(GenContext *c, BEValue *result_value, Expr *expr
|
||||
assert(arg_count);
|
||||
Expr *any_val = args[0];
|
||||
assert(any_val->expr_kind == EXPR_CAST);
|
||||
args[0] = exprptr(any_val->cast_expr.expr)->unary_expr.expr;
|
||||
args[0] = exprptr(any_val->cast_expr.expr);
|
||||
}
|
||||
|
||||
if (!expr->call_expr.is_func_ref)
|
||||
|
||||
Reference in New Issue
Block a user