JuliaLang/julia

Feature request: deprecate across modules

Open

#21,038 opened on Mar 15, 2017

View on GitHub
 (1 comment) (6 reactions) (0 assignees)Julia (5,773 forks)batch import
help wantedmacros

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (Avg merge 20d 6h) (157 merged PRs in 30d)

Description

eg make this work:

julia> module A
       f(x)=1
       end
A

julia> module B
       f(x)=2
       end
B

julia> @deprecate A.f(x) B.f(x)
ERROR: invalid usage of @deprecate

Contributor guide