Skip to content

Method definition string(..) overwritten #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MartinOtter opened this issue Apr 18, 2022 · 2 comments
Closed

Method definition string(..) overwritten #146

MartinOtter opened this issue Apr 18, 2022 · 2 comments

Comments

@MartinOtter
Copy link

When using DoubleFloats, the following message appears

WARNING: Method definition string(DoubleFloats.DoubleFloat{T}) where {T<:Union{Float16, Float32, Float64}} in module DoubleFloats at DoubleFloats\Oh3Yw\src\type\string.jl:16 overwritten at DoubleFloats\Oh3Yw\src\type\string.jl:1.
  ** incremental compilation may be fatally broken for this module **

The reason is that in file src/type/string.jl, two implementations of the same function are present:

function string(x::DoubleFloat{T}) where {T<:IEEEFloat}   # line 1
  xxx
function string(x::DoubleFloat{T}) where {T<:IEEEFloat}   # line 16
  xxx
@JeffreySarnoff
Copy link
Member

thank you -- fixed in master, merge pending

@JeffreySarnoff
Copy link
Member

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants