Revert slice.len[] returns an usize from compint.

This commit is contained in:
Christoffer Lerno
2021-07-14 15:16:16 +02:00
parent 50a36baf34
commit 150e205f13

View File

@@ -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;