Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null function reference for IntIterator #114

Open
EliteMasterEric opened this issue Feb 7, 2022 · 5 comments · May be fixed by #115
Open

Null function reference for IntIterator #114

EliteMasterEric opened this issue Feb 7, 2022 · 5 comments · May be fixed by #115

Comments

@EliteMasterEric
Copy link

try v = v.iterator() catch( e : Dynamic ) {};

image

image

I was able to resolve the issue, will make a PR now.

@EliteMasterEric EliteMasterEric linked a pull request Feb 7, 2022 that will close this issue
@ncannasse
Copy link
Member

On which platform does that occurs ?

@EliteMasterEric
Copy link
Author

EliteMasterEric commented Feb 7, 2022

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

@ncannasse
Copy link
Member

I guess then the fix should use #if( cpp || ... ) in the test before

@EliteMasterEric
Copy link
Author

@ncannasse Any update on merging this change? This still consistently causes problems when not using my fork.

@ncannasse
Copy link
Member

Please update the PR according to my previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants