-
Notifications
You must be signed in to change notification settings - Fork 9
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
There seems to be something wrong with unsafePartial
#11
Comments
Yeah, I'm able to reproduce it and see the bad codegen. It looks like a simple bug in the |
I've finished testing the fix, and it's checked in as well as in the "2019-12-03" binary release. Also let me know if you see a " $ go mod tidy && go clean -modcache fixes it. Thanks for trying it and for the bug report. |
I will probably try tomorrow! |
I think this worked. |
I was trying to compile
purescript-unicode
. I had to add some FFI and that was fine. However I got weird errors when it got to compiling/running this piece of code:The error being:
If I rename the variable to anything other than array the error now complains about the new name, e.g.:
The beginning of
Data_Char_Unicode_Internal.purs
is this:Note the suspicious
"project.localhost/purescript-native/output/otherName"
When I change the code to not use
unsafeIndex
but this:the build succeeds.
I don't know what this might be but I'm hopeful you might know!
The text was updated successfully, but these errors were encountered: