From e7ccd2e72daa3cbe639b244c02394f71a8e90982 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Fri, 14 May 2021 18:22:16 +0200 Subject: [PATCH] another {} unify fix --- hscript/Checker.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hscript/Checker.hx b/hscript/Checker.hx index 6c993c1..800f755 100644 --- a/hscript/Checker.hx +++ b/hscript/Checker.hx @@ -974,7 +974,7 @@ class Checker { return TVoid; case EObject(fl): switch( withType ) { - case WithType(follow(_) => TAnon(tfields)): + case WithType(follow(_) => TAnon(tfields)) if( tfields.length > 0 ): var map = [for( f in tfields ) f.name => f]; return TAnon([for( f in fl ) { var ft = map.get(f.name);