[perl #125815] [JVM] :nth(-666) is intended to die, but it does not

2016-10-25 Thread Christian Bartolomaeus via RT
All the tests fudged with this ticket number are passing now: 
https://github.com/perl6/roast/commit/8d39a9b0c86c21901824716398f74b3ab4016733

I'm closing this ticket as 'resolved'.


[perl #125815] [JVM] :nth(-666) is intended to die, but it does not

2015-11-18 Thread Christian Bartolomaeus via RT
The failing tests on JVM behave correctly, when executed on the command line:

$ perl6-j -e 'my $data = "f fo foo fooo f fo foo"; $data ~~ 
m:nth(-1)/fo+/; say "alive"'
Attempt to retrieve before :1st match -- :nth(-1)
  in block  at -e:1

The same code in the test file (using 'throws-like') does not die. So, maybe 
the problem is somewhere else.