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
The module is not able to be precompiled, with a long error message.
To Reproduce
julia>using DimensionfulAngles
Expected behavior
Pre-compilations
System
OS: PoP!
Julia version: 1.9
Package version: 0.2
Other packages version: [e.g. Unitful.jl 1.12.2, DifferentialEquations.jl 7.6.0, ...]
Additional context
julia>using DimensionfulAngles
[ Info: Precompiling DimensionfulAngles [2d4b8d7a-02d9-40f9-9abe-9c695b77de0d]
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)),)}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)),)}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)),)}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)),)}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)),)}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)),)}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)))}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)))}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=-1, den=1)))}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)))}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)))}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Time}(power=Base.Rational{Int64}(num=1, den=1)))}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)),)}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)),)}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)),)}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)),)}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)),)}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)),)}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)))}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)))}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=-1, den=1)))}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
WARNING: Method definition edconvert(Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)))}, Union{Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)))}(), U}, Unitful.Level{L, S, Unitful.Quantity{T, Unitful.Dimensions{(Unitful.Dimension{:Angle}(power=Base.Rational{Int64}(num=-1, den=1)), Unitful.Dimension{:Length}(power=Base.Rational{Int64}(num=1, den=1)))}(), U}} where S where L} where U where T, DimensionfulAngles.Periodic) inmodule DimensionfulAngles at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:124 overwritten at /home/carlos/.julia/packages/UnitfulEquivalences/JvL7D/src/UnitfulEquivalences.jl:125.** incremental compilation may be fatally broken for this module**
The text was updated successfully, but these errors were encountered:
the issue is that the @eqrelation macro defines both the proportional and antiproportional relations. These are the same for the cases of converting between the same dimensions. So all these expressions:
Describe the bug
The module is not able to be precompiled, with a long error message.
To Reproduce
Expected behavior
Pre-compilations
System
Additional context
The text was updated successfully, but these errors were encountered: