Skip to content

Commit

Permalink
Fix VInlined substr length
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiaomao committed Apr 3, 2024
1 parent 205800e commit 97a221d
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 @@ -612,7 +612,7 @@ class Eval {
for( r in localsRaw ) {
var names = r.split(".");
if( names.length <= 1 || names[0] != name ) continue;
relatedLocals.push(r.substr(name.length));
relatedLocals.push(r.substr(name.length+1));
}
if( relatedLocals.length == 0 )
return ANone;
Expand Down

0 comments on commit 97a221d

Please sign in to comment.