IMHO, the message is actually slightly worse. Now it's talking about an invocant when there are no classes or methods involved!
-Scott On Wed, Mar 11, 2015 at 1:26 PM, Christian Bartolomaeus via RT < bugs-comm...@bugs6.perl.org> wrote: > The error message has changed slightly and now states that "Invocant > requires an instance". > > $ perl6 -e 'sub f(Int $x where $x > 0) { say "yup" }; my Int $a; f($a);' > Invocant requires an instance, but a type object was passed > in method Bridge at src/gen/m-CORE.setting:5578 > in sub infix:<>> at src/gen/m-CORE.setting:5505 > in method ACCEPTS at src/gen/m-CORE.setting:3844 > in sub f at -e:1 > in block <unit> at -e:1 > > Formerly the message said "Parameter '' requires an instance" (and the > whole bug report is about the missing parameter name $x within this > message). > > IMHO the current error message is good -- even without speaking about $x. > > So, is this closeable? >