Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signed(UInt8) is not defined until Julia 1.5 #13

Open
andyferris opened this issue Sep 14, 2021 · 0 comments
Open

signed(UInt8) is not defined until Julia 1.5 #13

andyferris opened this issue Sep 14, 2021 · 0 comments

Comments

@andyferris
Copy link
Member

We should probably either move up the project dependency to Julia 1.5 or else workaround the issue that is making all the CI fail.

https://github.com/JuliaData/Avro.jl/blob/main/src/types/binary.jl#L151

   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.1 (2019-12-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> signed(UInt8)
ERROR: MethodError: Cannot `convert` an object of type Type{UInt8} to an object of type Signed
Closest candidates are:
  convert(::Type{T}, ::T) where T<:Number at number.jl:6
  convert(::Type{T}, ::Number) where T<:Number at number.jl:7
  convert(::Type{T}, ::Ptr) where T<:Integer at pointer.jl:23
  ...
Stacktrace:
 [1] signed(::Type) at ./int.jl:170
 [2] top-level scope at REPL[1]:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant