Skip to content

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Jan 27, 2021

Noticed this bug (which was moved in cc1623b, but originally introduced in 4c4e078) while exploring code internals

Those were backported, so this needs to be also.

This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.
@vtjnash vtjnash added backport 1.6 Change should be backported to release-1.6 bugfix This change fixes an existing bug labels Jan 27, 2021
Copy link
Member

@Sacha0 Sacha0 left a comment

Choose a reason for hiding this comment

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

Thanks Jameson! :)

@timholy
Copy link
Member

timholy commented Jan 27, 2021

Can you explain the bug? Specifically, is the "Revise-oriented precompiles" just a cleanup, and the real bug is in jl_specializations_get_linfo?

@vtjnash
Copy link
Member Author

vtjnash commented Jan 28, 2021

The indentation changes are just noise. Here's the diff without it: https://github.com/JuliaLang/julia/pull/39429/files?diff=unified&w=1. Specifically, it was just passing in the wrong objects to this function, and those were getting processed without checking their types (in C).

@KristofferC KristofferC mentioned this pull request Jan 29, 2021
60 tasks
@KristofferC KristofferC merged commit b9f8b8b into master Jan 29, 2021
@KristofferC KristofferC deleted the jn/speccache_array_bug branch January 29, 2021 07:33
KristofferC pushed a commit that referenced this pull request Jan 29, 2021
This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.

(cherry picked from commit b9f8b8b)
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Feb 1, 2021
KristofferC pushed a commit that referenced this pull request Feb 1, 2021
This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.

(cherry picked from commit b9f8b8b)
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
This was inserting a method with signature [Int, Int], rather than
Tuple{typeof(+), Int, Int}. Fix that and add a test for it so it doesn't
happen again.

(cherry picked from commit b9f8b8b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants