develooper Front page | perl.perl6.users | Postings from September 2020

Re: New type Stash for Block is not a mixin type

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
September 24, 2020 19:13
Subject:
Re: New type Stash for Block is not a mixin type
Message ID:
517AF325-DC01-470B-A89D-6D34CB98ACD5@dijkmat.nl
Feels like a regression worthy of a Rakudo issue

> On 24 Sep 2020, at 20:26, Fernando Santagata <nando.santagata@gmail.com> wrote:
> 
> Hello,
> 
> Since I upgraded to the last Rakudo I'am having a weird problem. I have a module like this:
> 
> unit class Class1;
> etc.
> 
> Then a second module:
> 
> unit class Class2;
> use Class1;
> etc.
> 
> In a program I need both modules, so it begins with two lines:
> 
> use Class1;
> use Class2;
> etc.
> 
> At this point if I run the program I get this error:
> 
> New type Stash for Block is not a mixin type
> 
> pointing to the line of code that uses Class2. If I remove the "use Class1" line, that program works fine.
> But it bugs me, because I don't understand that behavior.
> 
> Any hint?
> The whole thing worked fine using version 2020.07.
> 
> -- 
> Fernando Santagata

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About