sorear/niecza

Niecza silently swallows arguments to methods called as `$.method($args)`

Closed this issue · 0 comments

12:15 < moritz> niecza: class A { method x($y) { say $y }; method call-x() {
            $.x(3) } }; A.new.call-x
12:15 <+p6eval> niecza v14-42-g1d02da9: OUTPUT«Unhandled exception: No value
            for parameter '$y' in 'A.x'␤

note that I did provide a value for $y, namely 3.

XML::Writer uses this syntax a lot, so it would be nice get some support for it.