-
Notifications
You must be signed in to change notification settings - Fork 160
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
Reflect.callMethod doesn't work in Hashlink target #365
Comments
More importantly, this comes from the official example of hscript: |
Did you compile with -dce no ?
Le jeu. 23 avr. 2020 à 03:54, Kevin Leung <notifications@github.com> a
écrit :
… More importantly, this comes from the official example of hscript:
https://github.com/HaxeFoundation/hscript#example
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#365 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQHU4SPN3OTU3I47D7DRN6NVJANCNFSM4MOU5WPA>
.
|
I'm compiling with whatever lime/openfl uses by default. |
You need to add -dce no or else the Math.cos function is optimized out. |
Seems to be related to HaxeFoundation/hscript#96, even with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snippet crashes with the following error in runtime:
Works fine in cpp and html5 target though.
The text was updated successfully, but these errors were encountered: