hscript
hscript copied to clipboard
Null function reference for IntIterator
https://github.com/HaxeFoundation/hscript/blob/891a085f2b75acbf4700cfdffa80fb0b9532d325/hscript/Interp.hx#L627
I was able to resolve the issue, will make a PR now.
On which platform does that occurs ?
This was occurring on the Windows/CPP platform.
If it helps, the project where this issue was occurring is a public sample (sadly this isn't great as a minimal reproduction, as the Polymod library is loading the script, not the project itself): https://github.com/larsiusprime/polymod/tree/v1.4.2/samples/openfl_hscript
I guess then the fix should use #if( cpp || ... ) in the test before
@ncannasse Any update on merging this change? This still consistently causes problems when not using my fork.
Please update the PR according to my previous comment