From 88c2e28dbc96c027165a77cbfe37a57896714d93 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Wed, 7 Dec 2022 23:51:03 +0100 Subject: [PATCH] crap --- hscript/Checker.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscript/Checker.hx b/hscript/Checker.hx index 4ea5cd3..3c238f8 100644 --- a/hscript/Checker.hx +++ b/hscript/Checker.hx @@ -987,7 +987,7 @@ class Checker { default: return TAnon([for( f in fl ) { t : typeExpr(f.e, Value), opt : false, name : f.name }]); } - case EBreak, EContinue, EImport: + case EBreak, EContinue, EImport(_): return TVoid; case EReturn(v): var et = v == null ? TVoid : typeExpr(v, allowReturn == null ? Value : WithType(allowReturn));