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
elseifall(@nospecialize(arg)-> arg isa AbstractString, ex.args)
1404
1404
# Join these and treat this as a path
1405
1405
path::String=join(ex.args)
1406
1406
r = last_arg_start:pos
@@ -1479,22 +1479,28 @@ function UndefVarError_hint(io::IO, ex::UndefVarError)
1479
1479
else
1480
1480
scope = undef
1481
1481
end
1482
-
warnfor(m, var) = Base.isbindingresolved(m, var) && (Base.isexported(m, var) || Base.ispublic(m, var)) && (print(io, "\nHint: a global variable of this name also exists in $m."); true)
1483
-
if scope !== Base &&!warnfor(Base, var)
1482
+
if scope !== Base &&!_UndefVarError_warnfor(Base, var)
0 commit comments