Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixing into a List causes it to be unprintable in Rakudo #3035

Closed
p6rt opened this issue Jan 23, 2013 · 5 comments
Closed

Mixing into a List causes it to be unprintable in Rakudo #3035

p6rt opened this issue Jan 23, 2013 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 23, 2013

Migrated from rt.perl.org#116527 (status was 'resolved')

Searchable as RT116527$

@p6rt
Copy link
Author

p6rt commented Jan 23, 2013

From @masak

<[Coke]> r​: role c {}; my @​a = 1,2,3,4; my $b = @​a.pick(2) but c; say
$b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List+{c}()␤elements() not implemented
in class 'Mu' [...]
<masak> r​: my @​a = 1,2,3,4; my $b = @​a.pick(2); say $b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List()␤2 1␤»
* masak submits rakuodbug
<[Coke]> \o/

@p6rt
Copy link
Author

p6rt commented Aug 27, 2015

From @coke

On Wed Jan 23 06​:47​:55 2013, masak wrote​:

<[Coke]> r​: role c {}; my @​a = 1,2,3,4; my $b = @​a.pick(2) but c; say
$b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List+{c}()␤elements() not implemented
in class 'Mu' [...]
<masak> r​: my @​a = 1,2,3,4; my $b = @​a.pick(2); say $b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List()␤2 1␤»
* masak submits rakuodbug
<[Coke]> \o/

Fixed in the glr branch​:

09​:03 < [Coke]> r​: role c {}; my @​a = 1,2,3,4; my $b = @​a.pick(2) but c; say $b.WHAT; say $b;
09​:03 < GLRelia> rakudo-moar 2ccea7​: OUTPUT«(Seq+{c})␤2 4␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 27, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 27, 2015

From @coke

On Thu Aug 27 06​:04​:57 2015, coke wrote​:

On Wed Jan 23 06​:47​:55 2013, masak wrote​:

<[Coke]> r​: role c {}; my @​a = 1,2,3,4; my $b = @​a.pick(2) but c; say
$b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List+{c}()␤elements() not implemented
in class 'Mu' [...]
<masak> r​: my @​a = 1,2,3,4; my $b = @​a.pick(2); say $b.WHAT; say $b;
<p6eval> rakudo 388c1b​: OUTPUT«List()␤2 1␤»
* masak submits rakuodbug
<[Coke]> \o/

Fixed in the glr branch​:

09​:03 < [Coke]> r​: role c {}; my @​a = 1,2,3,4; my $b = @​a.pick(2) but
c; say $b.WHAT; say $b;
09​:03 < GLRelia> rakudo-moar 2ccea7​: OUTPUT«(Seq+{c})␤2 4␤»

Added a test to the glr branch in roast (since it works there) (without the random .pick)

Closing ticket…
--
Will "Coke" Coleda

@p6rt p6rt closed this as completed Aug 27, 2015
@p6rt
Copy link
Author

p6rt commented Aug 27, 2015

@coke - Status changed from 'open' to 'resolved'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant