On Mon, 18 Sep 2017 07:44:16 -0700, elizabeth wrote: > Fixed with 66c2d05f29 , tests need attention in S03-operators/eqv.t > > > On 18 Sep 2017, at 14:51, Zoffix Znet (via RT) <perl6-bugs- > > follo...@perl.org> wrote: > > > > # New Ticket Created by Zoffix Znet > > # Please include the string: [perl #132117] > > # in the subject line of all future correspondence about this issue. > > # <URL: https://rt.perl.org/Ticket/Display.html?id=132117 > > > > > > > If you `eqv` two lazy Seqs, you get a useful error: > > > > m: say (lazy 1,) eqv (lazy 1,) > > rakudo-moar 9190a3: OUTPUT: «Cannot eqv lazy Sequences in block > > <unit> at <tmp> line 1» > > > > But error is poor with lazy Lists: > > > > m: say (lazy 1,).List eqv (lazy 1,).List > > rakudo-moar 9190a3: OUTPUT: «This type cannot unbox to a native > > integer: P6opaque, Failure in block <unit> at <tmp> line 1»
Some comments on the failing tests: https://irclog.perlgeek.de/perl6-dev/2017-09-18#i_15181348 We could make `eqv` return False even for lazy args when we can determine the types differ (or one arg is lazy and the other isn't). The test themselves are just coverage tests and aren't part of the released language, so they can be amended if needed.