Skip to content

Commit

Permalink
Fix access to no package class identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed May 30, 2024
1 parent 70c90ca commit 079f1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hld/Eval.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 079f1c0

Please sign in to comment.