# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63894] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63894 >
<masak> rakudo: sub foo { return }; say foo.WHAT; say ?(foo ~~ Nil) <p6eval> rakudo 5b1ff9: OUTPUT«Nil0» * masak submits Expected behavior: a "Nil" and a 1. Or an explanation about why a value shouldn't smartmatch successfully against its own type.