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
Let's say we have the following module in a file Foo.jl:
module Foo
using LinearAlgebra
bar(a, b) = a ⋅ b
end
where ⋅ is exported from LinearAlgebra.jl. Running print_explicit_imports(Foo, "Foo.jl") gives
julia>print_explicit_imports(Foo, "Foo.jl")
Module Main.Foo is relying on implicit imports for1 name. This could be explicitly imported as follows:using LinearAlgebra: LinearAlgebra
However, exchanging using LinearAlgebra by the suggested using LinearAlgebra: LinearAlgebra breaks the module of course since ⋅ is not available anymore. I would expect ExplicitImports.jl to suggest using LinearAlgebra: LinearAlgebra, ⋅. I have tested that the same happens with ×. So I assume this happens for non-ASCII characters.
The text was updated successfully, but these errors were encountered:
Let's say we have the following module in a file
Foo.jl
:where
⋅
isexport
ed from LinearAlgebra.jl. Runningprint_explicit_imports(Foo, "Foo.jl")
givesHowever, exchanging
using LinearAlgebra
by the suggestedusing LinearAlgebra: LinearAlgebra
breaks the module of course since⋅
is not available anymore. I would expect ExplicitImports.jl to suggestusing LinearAlgebra: LinearAlgebra, ⋅
. I have tested that the same happens with×
. So I assume this happens for non-ASCII characters.The text was updated successfully, but these errors were encountered: