From 079f1c0b64ba8c04c7e18c78c4a8c3aa78592756 Mon Sep 17 00:00:00 2001 From: Yuxiao Mao Date: Thu, 30 May 2024 14:08:52 +0200 Subject: [PATCH] Fix access to no package class identifier --- hld/Eval.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hld/Eval.hx b/hld/Eval.hx index 8dc28ec..5d09ada 100644 --- a/hld/Eval.hx +++ b/hld/Eval.hx @@ -210,7 +210,7 @@ class Eval { return { v : VString(s, null), t : t_string }; } case EIdent(i): - var v = getVar(i); + var v = evalPath([i]); if( v == null ) throw "Unknown identifier "+i; return v; case EArray(v, i):