Nested signatures do not bind well in 'given' construct #149

masak opened this Issue Sep 4, 2012 · 0 comments


None yet
1 participant

masak commented Sep 4, 2012

<masak> rn: given [1, 2, 3] -> [$a, $b, $c] { say "$a $b $c" }
<p6eval> rakudo 962b9b: OUTPUT«1 2 3␤»
<p6eval> ..niecza v21-1-ga8aa70b: OUTPUT«Use of uninitialized value in string context [...]
<masak> sorear: Niecza doesn't do nested signatures?
* masak checks the compiler table
<masak> Niecza has green there.
<masak> hm.
<masak> rn: sub foo([$a, $b, $c]) { say "$a $b $c" }; foo([1, 2, 3])
<p6eval> rakudo 962b9b, niecza v21-1-ga8aa70b: OUTPUT«1 2 3␤»
<masak> seems it's just with given that it works less well.
* masak submits nieczissue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment