milankl/SoftPosit.jl

Precompilation warnings

milankl opened this issue ยท 2 comments

julia> using SoftPosit
[ Info: Precompiling SoftPosit [0775deef-a35f-56d7-82da-cfc52f91364d]
WARNING: Method definition (::Type{Int64})(SoftPosit.AbstractPosit) in module SoftPosit at /Users/milan/.julia/packages/SoftPosit/JY6kx/src/conversions.jl:72 overwritten at /Users/milan/.julia/packages/SoftPosit/JY6kx/src/conversions.jl:73.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition (::Type{Int64})(SoftPosit.AbstractPosit) in module SoftPosit at /Users/milan/.julia/packages/SoftPosit/JY6kx/src/conversions.jl:73 overwritten at /Users/milan/.julia/packages/SoftPosit/JY6kx/src/conversions.jl:74.
  ** incremental compilation may be fatally broken for this module **

Base.Int(x::AbstractPosit) = Int(Float64(x))
Base.Int(x::AbstractPosit) = Int(Float64(x))
Base.Int(x::AbstractPosit) = Int(Float64(x))
this is indeed quite interesting ๐Ÿ˜…

No idea how that happened ๐Ÿ™ˆ