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
julia> baremodule foo
import Base
@Base.error "Hello"
end
WARNING: replacing module foo.
ERROR: UndefVarError: getindex not defined
Stacktrace:
[1] top-level scope at logging.jl:300
It's trying to use a getindex function from my module, rather than the one from Base.
The text was updated successfully, but these errors were encountered:
Macro hygiene sees pre-lowered forms, and as a result does not apply
to syntactic forms like []. Use an explicit `getindex` to get the
proper hygiene behavior.
Fixes#26273
Macro hygiene sees pre-lowered forms, and as a result does not apply
to syntactic forms like []. Use an explicit `getindex` to get the
proper hygiene behavior.
Fixes#26273
It's trying to use a getindex function from my module, rather than the one from Base.
The text was updated successfully, but these errors were encountered: