From a7e4d1cb8d3df2619a73b5c78712288caa01d71a Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sun, 21 Jan 2018 20:00:58 +0100 Subject: [PATCH] fix deprecation of I (#25666) * fix deprecation of I --- base/deprecated.jl | 1 - base/sysimg.jl | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/base/deprecated.jl b/base/deprecated.jl index 211f9e8fb74c1..e88151ba58168 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -1368,7 +1368,6 @@ end @deprecate_moved copy_transpose! "LinearAlgebra" false true @deprecate_moved issuccess "LinearAlgebra" false true @deprecate_moved transpose_type "LinearAlgebra" false true -@deprecate_moved I "LinearAlgebra" false true @deprecate_moved A_mul_B! "LinearAlgebra" false true @deprecate_moved A_mul_Bt! "LinearAlgebra" false true @deprecate_moved At_mul_B! "LinearAlgebra" false true diff --git a/base/sysimg.jl b/base/sysimg.jl index 3d8e24869eebf..ed86a0e128cc9 100644 --- a/base/sysimg.jl +++ b/base/sysimg.jl @@ -553,6 +553,8 @@ Base.require(Base, :Unicode) # PR #25571 @deprecate_binding LinAlg root_module(Base, :LinearAlgebra) true ", run `using LinearAlgebra` instead" + @deprecate_binding(I, root_module(Base, :LinearAlgebra).I, true, + ", run `using LinearAlgebra` to load linear algebra functionality.") end empty!(DEPOT_PATH)