On Wed, 24 May 2017 04:29:58 -0700, nadim.khe...@gmail.com wrote:
> my ($y) := (Pair.new(1, 1)) ;
> 
> fails with error:
> 
> Too few positionals passed; expected 1 argument but got 0

Thank you for the report. However this is not a bug.

See conversation in https://irclog.perlgeek.de/perl6/2017-05-24#i_14629522

I also added[^1] docs for Mu.Capture, which is what the OP code is using, and
opened[^2] a doc Issue to ensure we have clear documentation on what public 
attributes
the types have (which is what ends up as the Capture via Mu.Capture)

[1] https://github.com/perl6/doc/commit/c798ff64c51b3f2e07734a9124f5f979c36ba939
[2] https://github.com/perl6/doc/issues/1331

Reply via email to