SciML / SciML/ModelingToolkitStandardLibrary.jl
`IsothermalCompressible.Pipe` conflicts with `Base.Pipe`
Open
Nobody has claimed this yet.
bug
- Dominant language
- Julia
- Stars
- 171
- Forks
- 49
- Avg merge
- 15h 50m
- Merged PRs (30d)
- 10
Description
(@v1.12) pkg> activate --temp
Activating new project at `C:\Users\Cornejo\AppData\Local\Temp\jl_MH5Wrq`
(jl_MH5Wrq) pkg> add ModelingToolkitStandardLibrary
Error & Stacktrace ⚠️
Precompiling packages finished.
19 dependencies successfully precompiled in 510 seconds. 258 already precompiled.
1 dependency had output during precompilation:
┌ ModelingToolkitStandardLibrary
│ WARNING: Constructor for type "Pipe" was extended in `IsothermalCompressible` without explicit qualification or import.
│ NOTE: Assumed "Pipe" refers to `Base.Pipe`. This behavior is deprecated and may differ in future versions.`
│ NOTE: This behavior may have differed in Julia versions prior to 1.12.
│ Hint: If you intended to create a new generic function of the same name, use `function Pipe end`.
│ Hint: To silence the warning, qualify `Pipe` as `Base.Pipe` in the method signature or explicitly `import Base: Pipe`.
└
Environment:
- Output of
using Pkg; Pkg.status()
(jl_MH5Wrq) pkg> st
Status `C:\Users\Cornejo\AppData\Local\Temp\jl_MH5Wrq\Project.toml`
[16a59e39] ModelingToolkitStandardLibrary v2.25.0
- Output of
versioninfo()
julia> versioninfo()
Julia Version 1.12.1
Commit ba1e628ee4 (2025-10-17 13:02 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the IsothermalCompressible module and its Pipe definition, then reproduce the precompilation warning with Julia 1.12. Update the Pipe reference so it no longer conflicts with Base.Pipe, and confirm that the package precompiles without this warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100