From f1343e0871601042eb1491b5155645b5a04f8343 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 13 Apr 2020 18:44:18 +0200 Subject: [PATCH] :art: Lint check_exp_cast --- src/parse/check.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/parse/check.c b/src/parse/check.c index bddff9fe..9f7d1f53 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -772,10 +772,7 @@ ANN static Type check_exp_cast(const Env env, const Exp_Cast* cast) { CHECK_OO((exp_self(cast)->info->type = cast->td->xid ? known_type(env, cast->td) : check_td(env, cast->td))) struct Op_Import opi = { .op=insert_symbol("$"), .lhs=t, .rhs=exp_self(cast)->info->type, .data=(uintptr_t)cast, .pos=exp_self(cast)->pos, .op_type=op_cast }; -// return op_check(env, &opi); - const Type ret = op_check(env, &opi); -printf("[%s] %p\n", __func__, t); - return ret; + return op_check(env, &opi); } ANN static Type check_exp_post(const Env env, const Exp_Postfix* post) { -- 2.43.0