I found in one of the spec tests for Ranges:

   my $r = 1..5;
   ok(($r).ACCEPTS($r), 'accepts self');
   ok(($r).ACCEPTS(1..5), 'accepts same');
   ok($r ~~ $r, 'accepts self');
   ok($r ~~ 1..5, 'accepts same');

And implemented this, but then Pm pointed out that it's not actually mentioned in the spec that matching one range against another like this should work (though things like matching one Array against another works).

Is the spec-test testing a non-existent feature, or is this missing from the spec?



Reply via email to