tadzik / JSON-Unmarshal

MIT License
5 stars 9 forks source link

JSON::Unmarshal unit tests fail under perl6-rakudo-moarvm-ubuntu16.04 #28

Open melezhik opened 7 years ago

melezhik commented 7 years ago

Hi!

The full log is here - https://travis-ci.org/melezhik/sparrowdo/builds/233228886#L279-L295 .

The snippet is:

===> Testing: JSON::Unmarshal:ver('0.08')

# Failed test 'unmarshal class with hash with subset constrained values'

# at t/parameterised.t line 12

# No appropriate parametric role variant available for 'Associative'

No such method 'bla' for invocant of type 'Any'

  in block <unit> at t/parameterised.t line 16

===> Testing [FAIL]: JSON::Unmarshal:ver('0.08')
zoffixznet commented 7 years ago

This appears to be the case for any pre-2017.04 Rakudo (tried with 2017.03 and 2017.02).

FWIW, this module is used by a whole bunch of modules (via Test::META) dep route, so it'd be nice if this issue could be fixed for slightly-older rakudos at least.