-
Notifications
You must be signed in to change notification settings - Fork 0
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
Interesting pattern match failure #1
Comments
@Hong-Xiang @thautwarm I've pinged you in case you have time to check it out. It could be that there's an error somewhere in the python code, but that winds up getting obfuscated by the error emitted from the Haskell code. |
I've found that in https://github.com/purescript-contrib/purescript-affjax/blob/master/src/Affjax.purs#L241 , both I use
Is there any |
@mikesol Besides, about how to use
|
I found the generated code for |
@mikesol Please try installing purescripto 0.8.9 from source, which seems to solve this issue. |
The new traceback: called ajax
STARTING
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\Users\twshere\Softwares\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\Users\twshere\Softwares\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\twshere\Desktop\FS\dev\github\pspy-test\purescript-affjax\purescript_affjax\ffi\Affjax.py", line 67, in _toThreading
if options.username and options.password:
AttributeError: 'dict' object has no attribute 'username' |
Using the ffi index at https://github.com/mikesol/purescript-python-ffi-index, I was able to provoke a pattern match failure running Main.purs in this repo. Below is a stack trace. I'm not exactly sure what provokes this, but as the error comes up deep in the Haskell compiler, I thought it'd be interesting to report it here.
The text was updated successfully, but these errors were encountered: