On Tue Jun 23 03:15:22 2009, masak wrote:
> <masak> rakudo: sub foo(--> Array of Str) { my Str @a = <foo bar baz>;
> @a }; foo
> <p6eval> rakudo 10f223: OUTPUT«Use of type object as value␤Type check
> failed on return value␤in 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?

It's the correct way, and it's fixed now; test covering this added to roast in 
b421638.

Thanks!

/jnthn




Reply via email to