Deprecation warning even after `using` statement (0.7)


#1

I’m surprised by the deprecation warning… Is that proper behavior?

julia> using Distributed

julia> @fetch
ERROR: LoadError: WARNING: Base.@fetch is deprecated: it has been moved to the standard library package `Distributed`.
Add `using Distributed` to your imports.
 in module Base
MethodError: no method matching @fetch(::LineNumberNode, ::Module)
Closest candidates are:
  @fetch(::LineNumberNode, ::Module, ::Any) at /Users/vagrant/worker/worker/package_osx64/build/usr/share/julia/stdlib/v0.7/Distributed/src/macros.jl:94
in expression starting at REPL[2]:1234:

I’m using the latest nightly.

julia> versioninfo()
Julia Version 0.7.0-DEV.5121
Commit 406615f (2018-05-17 09:51 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, haswell)
Environment:
  JULIA_NUM_THREADS = 4 

#2

See https://github.com/JuliaLang/julia/issues/26140