JuliaLang/julia

Code warntype should show print the unstable SSA values in red/yellow

Open

#54,028 opened on Apr 10, 2024

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Julia (48,709 stars) (5,773 forks)batch import
display and printinggood first issue

Description

If you have some code like

julia> function foo(x)
       y = x[1]
       sin(y)
       end
foo (generic function with 1 method)

julia> code_warntype(foo, (Vector{Any},), optimize=true)

It would be useful if %17 was printed in red

Contributor guide