mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Revert slice.len[] returns an usize from compint.
This commit is contained in:
@@ -1487,7 +1487,6 @@ static inline bool sema_expr_analyse_call(Context *context, Type *to, Expr *expr
|
||||
{
|
||||
expr_replace(expr, func_expr);
|
||||
expr_set_type(expr, type_usize);
|
||||
expr->original_type = type_compint;
|
||||
return true;
|
||||
}
|
||||
FALLTHROUGH;
|
||||
|
||||
Reference in New Issue
Block a user