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 code_warntype on OpaqueClosures #54378

Merged
merged 2 commits into from
May 8, 2024
Merged

fix code_warntype on OpaqueClosures #54378

merged 2 commits into from
May 8, 2024

Conversation

KristofferC
Copy link
Member

Fixes #54375

@KristofferC KristofferC requested a review from Keno May 6, 2024 13:26
Comment on lines 773 to 777

@testset "code_warntype OpaqueClosure" begin
g = Base.Experimental.@opaque Tuple{Float64} x -> 0.0
@test warntype_hastag(g, Tuple{Float64}, "::Float64")
end
Copy link
Member

Choose a reason for hiding this comment

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

We need to have this code before end # module WarnType

@aviatesk aviatesk merged commit 88d6633 into master May 8, 2024
7 checks passed
@aviatesk aviatesk deleted the kc/warntype_oc branch May 8, 2024 08:00
xlxs4 pushed a commit to xlxs4/julia that referenced this pull request May 9, 2024
Fixes JuliaLang#54375

---------

Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com>
lazarusA pushed a commit to lazarusA/julia that referenced this pull request Jul 12, 2024
Fixes JuliaLang#54375

---------

Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com>
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.

@code_warntype on OpaqueClosure throws.
2 participants