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)
1443
1443
# Join these and treat this as a path
1444
1444
path::String=join(ex.args)
1445
1445
r = last_arg_start:pos
@@ -1518,22 +1518,28 @@ function UndefVarError_hint(io::IO, ex::UndefVarError)
1518
1518
else
1519
1519
scope = undef
1520
1520
end
1521
-
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)
1522
-
if scope !== Base &&!warnfor(Base, var)
1521
+
if scope !== Base &&!_UndefVarError_warnfor(Base, var)
0 commit comments