LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

`Missing reference` for unexported Base symbols

Open simonmandlik opened this issue 2 years ago • 0 comments

If Base defines a symbol, but doesn't export it, importing it with using is a valid command. But Language Server yields a warning

image

Here, AbstractVecOrTuple and CodeUnits are from Base, but are not exported.

LS produces a false positive warning. If importing unexported stuff from modules is a bad practice, shouldn't the Warning say something different?

Maybe related to https://github.com/julia-vscode/LanguageServer.jl/issues/1204 and https://github.com/julia-vscode/LanguageServer.jl/issues/1197

simonmandlik avatar Aug 04 '23 09:08 simonmandlik