-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Compiling MTKSL under Julia 12 triggered the following warning
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`.
Reading up I understand that Julia 12 triggers this warning due to a method being defined for a function or constructor (Pipe) without explicitly qualifying or importing it, 'assuming' it's extending Base.Pipe.
Possibly caused by the @deprecate Pipe Tube in the Tube definition??
Julia v12
MTK v10.26
MTKSL v2.25.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working