Closed gamerbross closed 1 year ago
Never seen this before, I test all my builds with HXCPP.
What version of Haxe are you using?
What operating system are you on?
Have you been able to reproduce this in any of the sample projects?
Never seen this before, I test all my builds with HXCPP.
What version of Haxe are you using?
What operating system are you on?
Have you been able to reproduce this in any of the sample projects?
I already managed to fix it, I just moved the errorCallback
function to a new variable and changed the error parameter to dynamic (I don't know if it's necessary).
My guess is it might be a bug with Haxe's type interpretation.
Also, for reference, the error
argument is of the type polymod.Polymod.PolymodError
, which has several useful attributes (like severity
and code
, the latter of which is an enum you can use to handle specific errors).
I get an error in the code compiled to C++ and I did not modify any Polymod file.
Full Header File
```cpp #ifndef INCLUDED_polymod_PolymodErrorType #define INCLUDED_polymod_PolymodErrorType #ifndef HXCPP_H #includeThe initial state file only contains this code mentioning polymod
I don't have any idea of what is causing this :(