-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
assertion failure on uncertain ccall return type #5752
Labels
kind:bug
Indicates an unexpected problem or unintended behavior
Comments
Type inference can be made to handle this case, but we also need better (error) handling of cases like
|
JeffBezanson
added a commit
that referenced
this issue
Feb 12, 2014
I consider this fixed since the code now works; improving type inference here is a separate matter. |
JeffBezanson
added a commit
that referenced
this issue
Feb 12, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happens because ccall returns an unboxed Ptr{Int}, but codegen doesn't quite know what to expect when it goes to box it (inference told it to expect
Ptr{T}
)The text was updated successfully, but these errors were encountered: