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

2020-09-28 Thread Fernando Santagata
It seems that Rakudo 2020.09 solved the regression problem!

On Sat, Sep 26, 2020 at 10:01 AM Fernando Santagata <
nando.santag...@gmail.com> wrote:

> Thank you, I'll see if I can concoct a self-contained example in order to
> open an issue.
>
> On Thu, Sep 24, 2020, 20:13 Elizabeth Mattijsen  wrote:
>
>> Feels like a regression worthy of a Rakudo issue
>>
>> > On 24 Sep 2020, at 20:26, Fernando Santagata 
>> 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
>>
>

-- 
Fernando Santagata


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

2020-09-26 Thread Fernando Santagata
Thank you, I'll see if I can concoct a self-contained example in order to
open an issue.

On Thu, Sep 24, 2020, 20:13 Elizabeth Mattijsen  wrote:

> Feels like a regression worthy of a Rakudo issue
>
> > On 24 Sep 2020, at 20:26, Fernando Santagata 
> 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
>


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

2020-09-24 Thread Elizabeth Mattijsen
Feels like a regression worthy of a Rakudo issue

> On 24 Sep 2020, at 20:26, Fernando Santagata  
> 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


New type Stash for Block is not a mixin type

2020-09-24 Thread Fernando Santagata
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