# New Ticket Created by  zengargoyle 
# Please include the string:  [perl #131409]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131409 >


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

Reply via email to