# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #72750] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=72750 >
<masak> rakudo: sub foo(5) { say "HAI 5!" }; foo(5) <p6eval> rakudo 1d4928: OUTPUT«HAI 5!» <masak> rakudo: sub foo(Inf) { say "HAI INFTY!" }; foo(Inf) <p6eval> rakudo 1d4928: OUTPUT«Malformed routine definition at line 10, near "foo(Inf) {" [...] <masak> rakudo: sub foo(NaN) { say "NAN BREAD!" }; foo(NaN) <p6eval> rakudo 1d4928: OUTPUT«Malformed routine definition at line 10, near "foo(NaN) {" [...] * masak submits rakuodbug <masak> I stumbled on this, which really is a TODO bug of sorts, because I wanted to see if Inf and NaN would match other types than Num. <masak> TimToady mentioned in the backlog that they should.