Skip to content

Nullables test error on 1.1.0 branch #30344

@KristofferC

Description

@KristofferC

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:0

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behaviorpriorityThis should be addressed urgently

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions