# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #70890] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=70890 >
<masak> rakudo: sub foo($b) { $b == 42 }; subset FortyTwo of Int where &foo; say 42 ~~ FortyTwo <masak> rakudo: sub foo($a, $b) { $b == 42 }; subset FortyTwo of Int where &foo.assuming(0); say 42 ~~ FortyTwo <p6eval> rakudo 7347ec: ( no output ) <p6eval> rakudo 7347ec: ( no output ) <masak> locally, the first one gives 1 and the second one gives a 'Not enough positional parameters passed'. <masak> jnthn: should the second one work? <jnthn> masak: Um <jnthn> masak: I *think* so. <jnthn> Since that should return a curried sub. <jnthn> .oO( mmm...vindaloo ) <masak> :) * masak submits the where-and-assuming rakudobug