On Wed, 31 May 2017 03:47:19 -0700, c...@zoffix.com wrote: > On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > > When using smartmatch against a regex, auto-whatever closure generation > > does not work whereas manual pointy closure does work. > > > > A '{ * eq $match}' behaves differently than a '{ * ~~ /<$match>/}'. > > However, '-> $x { $x ~~ <$match>}' behaves as expected. > > > > For a test case: > > https://gist.github.com/zengargoyle/5a14f01a35918f6c3391b90e9b85a22a > > > > ---- > > zengargoyle > > > This feels very related to https://rt.perl.org/Ticket/Display.html?id=126984
Fudged tests preemptively added to S02-types/whatever.t in roast commit 4b2fef409.