# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #66892] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66892 >
<masak> rakudo: sub foo(--> Array of Str) { my Str @a = <foo bar baz>; @a }; foo <p6eval> rakudo 10f223: OUTPUT«Use of type object as valueType check failed on return valuein sub foo [...] * masak submits rakudobug I might have misunderstood something -- but if this isn't the way to declare "I want this sub to return an array of Str", and then to return an Array of Str (look, it's even typed as that!), then what is?