From 1651468186d5f9e599735fd5295300a59207482b Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Tue, 26 Nov 2024 08:37:16 +0100 Subject: [PATCH] Prevent get fields for this on VString, VMap, VBytes when break in std --- hld/Eval.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hld/Eval.hx b/hld/Eval.hx index a1d625a..68b8d68 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -1291,7 +1291,7 @@ 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(_): + case VString(_) | VArray(_) | VMap(_) | VBytes(_): return []; default: return null;