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

Something is wrong with inference of promote_op on Float16 #17394

Merged
merged 1 commit into from
Jul 13, 2016

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Jul 13, 2016

#17313 passed tests a few days ago so this is probably a recent regression. There's a long queue on Travis (pyjulia was stuck blocking the entire JuliaLang queue for many hours earlier today due to misformatted yaml) but AppVeyor is totally idle right now, so if this passes on AppVeyor and nobody can propose a real fix by then I'll merge just so master isn't failing tests. Please revert this commit if you can fix the issue.

@tkelman tkelman merged commit 254891c into master Jul 13, 2016
@tkelman tkelman deleted the tk/numberstest branch July 13, 2016 04:28
@@ -2770,7 +2770,12 @@ let types = (Base.BitInteger_types..., BigInt, Bool,
Complex{Int}, Complex{UInt}, Complex32, Complex64, Complex128)
for S in types
for op in (+, -)
T = @inferred Base.promote_op(op, S)
if S === Float16 # type instability here?
@test_broken @inferred Base.promote_op(op, S)
Copy link
Contributor Author

@tkelman tkelman Jul 13, 2016

Choose a reason for hiding this comment

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

d'oh, I am not using @test_broken correctly here

fixed in #17396

tkelman added a commit that referenced this pull request Jul 13, 2016
Since test_broken is not good for things that currently error
but when fixed will return non-boolean.

If you know how to fix the inference issue and get tests to pass
with #17394 (377dede) reverted,
then please do so and ignore this change.
PallHaraldsson pushed a commit to PallHaraldsson/julia that referenced this pull request Aug 15, 2016
Since test_broken is not good for things that currently error
but when fixed will return non-boolean.

If you know how to fix the inference issue and get tests to pass
with JuliaLang#17394 (377dede) reverted,
then please do so and ignore this change.
mfasi pushed a commit to mfasi/julia that referenced this pull request Sep 5, 2016
Since test_broken is not good for things that currently error
but when fixed will return non-boolean.

If you know how to fix the inference issue and get tests to pass
with JuliaLang#17394 (377dede) reverted,
then please do so and ignore this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant