From 150e205f135725ea80803674cbcdc77e5f597c8e Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Wed, 14 Jul 2021 15:16:16 +0200 Subject: [PATCH] Revert slice.len[] returns an usize from compint. --- src/compiler/sema_expr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/sema_expr.c b/src/compiler/sema_expr.c index c8769ebc2..943292804 100644 --- a/src/compiler/sema_expr.c +++ b/src/compiler/sema_expr.c @@ -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;