From 0fc42c3bbda0d080cb4e6408417566a236750c65 Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Fri, 22 Nov 2024 08:53:39 +0100 Subject: [PATCH] Prevent get fields for this on VArray when break in std --- hld/Eval.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hld/Eval.hx b/hld/Eval.hx index cfaf1ff..82d4524 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -1290,6 +1290,8 @@ class Eval { return [for( i in 0...values.length ) if( values[i].t.isPtr() ) "$"+i]; case VInlined(fields): return [for( f in fields ) f.name]; + case VArray(_): + return []; default: return null; }