JuliaLang/julia

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

Open

#54,028 建立於 2024年4月10日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)Julia (48,709 star) (5,773 fork)batch import
display and printinggood first issue

描述

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

貢獻者指南