File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1
1
# This file is a part of Julia. License is MIT: http://julialang.org/license
2
+ #
3
+ # Deprecated functions and objects
4
+ #
5
+ # Please add new deprecations at the bottom of the file.
6
+ # A function deprecated in a release will be removed in the next one.
7
+ # Please also add a reference to the pull request which introduced the
8
+ # deprecation.
9
+ #
10
+ # For simple cases where a direct replacement is available, use @deprecate:
11
+ # the first argument is the signature of the deprecated method, the second one
12
+ # is the call which replaces it. Remove the definition of the deprecated method
13
+ # and unexport it, as @deprecate takes care of calling the replacement
14
+ # and of exporting the function.
15
+ #
16
+ # For more complex cases, move the body of the deprecated method in this file,
17
+ # and call depwarn() directly from inside it. The symbol depwarn() expects is
18
+ # the name of the function, which is used to ensure that the deprecation warning
19
+ # is only printed the first time for each call place.
2
20
3
21
macro deprecate (old,new)
4
22
meta = Expr (:meta , :noinline )
You can’t perform that action at this time.
0 commit comments