Skip to content

Commit 3466e86

Browse files
committed
Use only bits types for CONTAINER_TYPES
A change introduced in Julia 0.7 made BigInt a subtype of Signed. The change resulted in the code including BigInt in the CONTAINER_TYPES which resulted in an exceptions since BigInt is not a bits type. JuliaLang/julia#23473
1 parent 769a89e commit 3466e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const FD4 = FixedDecimal{Int, 4}
1717
const WFD2 = FixedDecimal{Int128, 2}
1818
const WFD4 = FixedDecimal{Int128, 4}
1919

20-
const CONTAINER_TYPES = [subtypes(Signed); subtypes(Unsigned)]
20+
const CONTAINER_TYPES = Base.BitInteger_types # Integer concrete subtypes which are bits
2121

2222
# these arrays should be kept sorted manually
2323
const keyvalues = Dict(

0 commit comments

Comments
 (0)