Skip to content
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

fix #17572, error during inference due to <: on non-Type #17621

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

JeffBezanson
Copy link
Sponsor Member

No description provided.

catch me
# cannot convert to non-type `0`
@test isa(me,MethodError) && me.f === convert
end
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test doesn't fail for me on master. I think you need to call code_typed directly and show that there is no error being thrown.

also, since it's not testing core, it should go in test/inference.jl (so you don't get rebase conflicts :)

@kshyatt kshyatt added the kind:bugfix This change fixes an existing bug label Jul 26, 2016
@JeffBezanson JeffBezanson merged commit 8d6b735 into master Jul 27, 2016
@tkelman tkelman deleted the jb/fix17572 branch July 27, 2016 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants