We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5ea8c commit d39d6deCopy full SHA for d39d6de
src/metadata.jl
@@ -17,7 +17,7 @@ using .MaxLengthStrings: MaxLengthString
17
primitive type ASCIIChar <: AbstractChar 8 end
18
ASCIIChar(x::UInt8) = reinterpret(ASCIIChar, x)
19
ASCIIChar(x::Integer) = ASCIIChar(UInt8(x))
20
-UInt8(x::ASCIIChar) = reinterpret(UInt8, x)
+Base.UInt8(x::ASCIIChar) = reinterpret(UInt8, x)
21
Base.codepoint(x::ASCIIChar) = UInt8(x)
22
Base.show(io::IO, x::ASCIIChar) = print(io, Char(x))
23
Base.zero(::Union{ASCIIChar,Type{ASCIIChar}}) = ASCIIChar(Base.zero(UInt8))
0 commit comments