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

`promote_type(Measurement{Float64},BigFloat)` fails

Open longemen3000 opened this issue 4 months ago • 0 comments

Found while testing #178 MVE:

using Measurements
promote_type(Measurement{Float64},BigFloat)

Fails with:

ERROR: StackOverflowError:
Stacktrace:
      [1] promote_result(::Type, ::Type, ::Type{Measurement{BigFloat}}, ::Type{BigFloat})
        @ Base .\promotion.jl:338
      [2] promote_type
        @ .\promotion.jl:318 [inlined]--- the above 2 lines are repeated 79981 more times ---

longemen3000 avatar May 30 '25 02:05 longemen3000