tiagolr / dconsole

Haxe game-like console that provides runtime acess to methods, variables and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix hscript 2.0.4 compatibility

tiagolr opened this issue · comments

with hscript 2.0.4 the hscript state is being reset again everytime an expression is evaluated.

This problem could be solved by reverting to exprReturn().

Although there was a change in hscript to fix the internal state not being initialized, I'd still say that execute() should be called at least once (probably right after creating the interpreter) to initialize the state explicitly.

Yes, thanks @Type1J , it has been fixed already (needed a few new tricks after reverting to exprReturn), its working fine, also added an explicit dependency to hscript 2.0.4 before a new version breaks it again.