You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functiontest_this()
local u
local v::Inttry
u =1
v =2catch@warn"Unexpected!"end
v
endfunctiontest_that()
local x
local y::Intlet
x =1
y =2end
x + y
end
contrary to expectations, u gets no unused warning, whereas v, x and y all get unused warnings, as indicated by the greyed out variable names in the screen shot try and let scope blocks below.
Calling the functions, we get test_this() == 2 and test_that() == 3 as expected.
This is with vscode 1.75.1, julia-vscode 1.38.2, Julia 1.8.5.
line
in the do block below gets linted as unused.For copy paste
The text was updated successfully, but these errors were encountered: