Skip to content

Commit f379d2b

Browse files
committed
fixup! fixup! Add support for literals
1 parent 1341ff7 commit f379d2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/literals.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Base.:(*)(x::Number, ::Type{Literal{T}}) where {T} = T(x)
55
const i8 = Literal{Int8}
66
const i16 = Literal{Int16}
77
const i32 = Literal{Int32}
8-
const u8 = Literal{Int8}
9-
const u16 = Literal{Int16}
10-
const u32 = Literal{Int32}
8+
const u8 = Literal{UInt8}
9+
const u16 = Literal{UInt16}
10+
const u32 = Literal{UInt32}

0 commit comments

Comments
 (0)