On Wed, 07 Jun 2017 11:46:03 -0700, [email protected] wrote:
> On Monday, June 05, 2017 5:05 PM, Will Coleda via RT wrote:
> > On Fri, 02 Jun 2017 23:29:40 -0700, [email protected] wrote:
> > > On #perl6 IRC, I typed this:
> > >
> > > <BenGoldberg> m: my \foo = Callable but role :: { };
> > > <+camelia> rakudo-moar ef9872: OUTPUT: «X::Method::NotFound
> > > exception
> > > produced no message in block <unit> at <tmp> line 1»
> > >
> > > If, at my command prompt, I type perl6 –e “my \foo = Callable but
> > > role
> > > :: { };”
> > > I get instead:
> > >
> > > No such method 'mixin' for invocant of type
> > > 'Perl6::Metamodel::ParametricRoleGroupHOW'
> > > in block <unit> at -e line 1
> > >
> > >
> > > Including, oddly, an extra blank line after the error and before my
> > > prompt.
> >
> >
> > Please provide the version of rakudo you're running locally so we can
> > rule
> > out any version skew.
> >
>
> C:\Users\Ben (user)>perl6 -v
> This is Rakudo version 2017.01 built on MoarVM version 2017.01
> implementing Perl 6.c.
>
This was a temporary change:
23:42 < [Coke]> committable6: 2017.01 my \foo = Callable but role :: { };
23:42 <+committable6> [Coke], ¦2017.01: «No such method 'mixin' for invocant of
type 'Perl6::Metamodel::ParametricRoleGroupHOW' in
block <unit> at /tmp/hYc6hABV7m line 1 «exit code = 1»»
23:42 < Juerd> ugexe: "use lib 'lib';" is in example code at
https://docs.perl6.org/language/modules
23:42 < [Coke]> committable6: 2017.05 my \foo = Callable but role :: { };
23:42 <+committable6> [Coke], ¦2017.05: «No such method 'mixin' for invocant of
type 'Perl6::Metamodel::ParametricRoleGroupHOW' in
block <unit> at /tmp/2usM18Vu7J line 1 «exit code = 1»»
23:42 < [Coke]> m: my \foo = Callable but role :: { };
23:42 <+camelia> rakudo-moar f0c3bf: OUTPUT: «No such method 'mixin' for
invocant of type 'Perl6::Metamodel::ParametricRoleGroupHOW'.
Did you mean 'min'? in block <unit> at <tmp> line 1»
23:43 < [Coke]> committable6: ef9872 my \foo = Callable but role :: { };
23:43 <+committable6> [Coke], ¦ef9872: «X::Method::NotFound exception produced
no message in block <unit> at /tmp/djXVvvjcMC line 1
«exit code = 1»»
Note that 2017.01, 2017.05 and f0c3fb all give the same output.
Checking the specific version you reported earlier, I see the difference.
--
Will "Coke" Coleda