ITADN

ERROR: Constant binding was imported from multiple modules

#1040Openwoutersj 创建于 2025-11-11
bug
W
woutersjcommented
Code to generate the error: ```julia Base.Docs.Binding(Rasters, :Dimensions) Base.Docs.Binding(Rasters, :LookupArray) ``` Output: ```julia julia> Base.Docs.Binding(Rasters, :LookupArray) ERROR: Constant binding was imported from multiple modules Stacktrace: [1] binding_module @ ./runtime_internals.jl:181 [inlined] [2] Base.Docs.Binding(m::Module, v::Symbol) @ Base.Docs ./docs/bindings.jl:13 [3] top-level scope @ REPL[22]:1 julia> for name in names(Rasters) try Base.Docs.Binding(Rasters, name) catch e print(name, ": ") println(e) end end Dimensions: ErrorException("Constant binding was imported from multiple modules") LookupArray: ErrorException("Constant binding was imported from multiple modules") ``` ```julia Julia Version 1.12.1 Commit ba1e628ee49 (2025-10-17 13:02 UTC) Build Info: Official https://julialang.org release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz WORD_SIZE: 64 LLVM: libLLVM-18.1.7 (ORCJIT, tigerlake) GC: Built with stock GC Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores) Environment: JULIA_EDITOR = vim (MyTest) pkg> st Rasters Project MyTest v0.1.0 Status `~/MyTest/Project.toml` [a3a2b9e3] Rasters v0.14.7 ``` Thanks to @pfitzseb, see https://github.com/julia-vscode/LanguageServer.jl/issues/1369#issuecomment-3515809038
0 条评论