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

贡献者指南