On Wed Dec 24 07:35:47 2008, dwh...@nvidia.com wrote:
> (rakudo 34337)
>
> Examples:
>
> sub foo( $x where { $_ eq "x" } ) { say "X" }
> x("x")
>
> works, but
>
> sub foo( $x where "x" ) { say "X" }
> sub foo( $x where /x/ ) { say "X" }
Now also work as of git 0f87695. Plus added tests.
T
# New Ticket Created by "David Whipp"
# Please include the string: [perl #61654]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=61654 >
(rakudo 34337)
Examples:
sub foo( $x where { $_ eq "x" } ) { say "X" }
x("x")
works,