Skip to content

Commit 9906dcd

Browse files
yuyichaoararslan
authored andcommitted
Fix 0.6 typealias depwarn (#35)
1 parent e498d0a commit 9906dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Primes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if VERSION >= v"0.5.0-dev+4340"
1818
using Base: BitSigned
1919
using Base.Checked.checked_neg
2020
else
21-
typealias BitSigned Union{Int128,Int16,Int32,Int64,Int8}
21+
const BitSigned = Union{Int128,Int16,Int32,Int64,Int8}
2222
function checked_neg(x::Integer)
2323
y = -x
2424
(y < 0) == (x < 0) && throw(OverflowError())

0 commit comments

Comments
 (0)