-
-
Couldn't load subscription status.
- Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorpriorityThis should be addressed urgentlyThis should be addressed urgently
Milestone
Description
Repro is:
julia> using Nullables
julia> isequal(Nullable{Bool}(), Nullable(Int8(0)))
ERROR: zext_int: value is not a primitive type
Stacktrace: [1] toInt8 at ./boot.jl:627 [inlined]
[2] Type at ./boot.jl:730 [inlined]
[3] convert at ./number.jl:7 [inlined]
[4] _promote at ./promotion.jl:261 [inlined]
[5] promote at ./promotion.jl:284 [inlined]
[6] == at ./promotion.jl:350 [inlined]
[7] isequal at ./operators.jl:123 [inlined]
[8] isequal(::Nullable{Bool}, ::Nullable{Int8}) at /Users/kristoffer/.julia/dev/Nullables/src/nullable.jl:244
[9] top-level scope at none:0Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorpriorityThis should be addressed urgentlyThis should be addressed urgently