On Tue, 12 Sep 2017 08:55:37 -0700, sml...@gmail.com wrote: > On Mon, 12 Oct 2015 05:33:13 -0700, masak wrote: > > <loren> m: my &f := &substr.assuming('hello world'); say f(0, 2); > > <camelia> rakudo-moar 70a94d: OUTPUT«hello world» > > <moritz> m: say &substr.assuming('hello world')(0, 2) > > <camelia> rakudo-moar 70a94d: OUTPUT«hello world» > > [...] > > It works fine now: > > ➜ say &substr.assuming("hello world")(0, 2); > he > > ➜ say { @_ }.assuming(1, 2)(3, 4, 5); > [1 2 3 4 5] > > > According to committable¹ and bisectable², this was a regression > introduced near the start of the GLR around Sept 2015, and fixed again > by a GLR-related commit³ in Dec 2015. > > Can be closed with tests. > --- > [1] > https://gist.github.com/Whateverable/47d41dd4ca8092815ba0449f8a8ee518 > [2] > https://gist.github.com/Whateverable/8212d24ae0b3498ca53cdd46471db402 > [3] https://github.com/rakudo/rakudo/commit/88a8a00
Tests added in roast b2142be76, so resolving.