crystal-community / msgpack-crystal

MessagePack implementation in Crystal msgpack.org[Crystal]
136 stars 18 forks source link

Error while building with Crystal 0.21 #35

Closed bararchy closed 7 years ago

bararchy commented 7 years ago
instantiating 'MessagePack::Lexer#next_token(Tuple(), NamedTuple())'
in lib/msgpack/src/message_pack/lexer.cr:96: instantiating 'prefetch_token()'

    token = prefetch_token
            ^~~~~~~~~~~~~~

in lib/msgpack/src/message_pack/lexer.cr:51: instantiating 'read(UInt16:Class)'

      consume_binary(read UInt16)
                     ^~~~

in lib/msgpack/src/message_pack/lexer.cr:154: undefined constant T

  private def read(type : T.class)
kostya commented 7 years ago

use 0.7.0 version!