Navigation Menu

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

Strange volatile "cannot resume dead coroutine" error when doing [Z+] over three arrays in Rakudo #2434

Closed
p6rt opened this issue Jun 11, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jun 11, 2011

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

Searchable as RT92652$

@p6rt
Copy link
Author

p6rt commented Jun 11, 2011

From @masak

<breatharian> Oh wow, rakudo gives "Cannot resume dead coroutine." for
[Z+] @​a, @​b, @​c
<breatharian> and exits
<tadzik> breatharian​: I guess that's Rakudorian for "not yet implemented, sorry"
<moritz> rakudo​: say [Z+] (1, 2), (3, 4), (5, 6)
<p6eval> rakudo 4a6d21​: ( no output )
<masak> rakudo​: my @​a = 1, 2, 3; say [Z+] @​a, @​a, @​a
<p6eval> rakudo 4a6d21​: ( no output )
* masak tries locally
<tadzik> same thing locally
<masak> tadzik​: with which one-liner?
* masak can't reproduce it locally
<tadzik> masak​: my @​a = 1, 2, 3; my @​b = 4, 5, 6; my @​c = 7, 8, 9;[Z+]
@​a, @​b, @​c
* masak submits rakudobug
<masak> tadzik​: strangely, I don't get it over here.
<tadzik> oh?
<masak> tadzik​: could you please nopaste your local dead-coroutine
error? along with your local rakudo version?

$ perl6

[Z+] @​a, @​b, @​c
Symbol '@​a' not predeclared in <anonymous>
my @​a = 1, 2, 3; my @​b = 4, 5, 6; my @​c = 7, 8, 9;[Z+] @​a, @​b, @​c
===SORRY!===
Cannot resume dead coroutine.
$ perl6 --version

This is Rakudo Perl 6, version 2011.05-6-gc56f740 built on parrot
3.4.0 RELEASE_3_4_0-27-gfb89b91

Copyright 2008-2011, The Perl Foundation

<masak> tadzik​: hm, is that a compile-time error? what happens if you
'say "alive"' at the *beginning* of the program?
<tadzik> erm, nuts
<tadzik> > say 'alive'; my @​a = 1, 2, 3; my @​b = 4, 5, 6; my @​c = 7,
8, 9;[Z+] @​a, @​b, @​c
<tadzik> alive
<tadzik> no other errors
<masak> hah! :)
<masak> this all goes into the ticket. tadzik++
<tadzik> weird

@p6rt
Copy link
Author

p6rt commented Jul 1, 2011

From @pmichaud

Now fixed in nom 71607fa. Needs spectests.

Pm

@p6rt
Copy link
Author

p6rt commented Jul 1, 2011

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

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @moritz

Now tested in S03-metaops/zip.t.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

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

@p6rt p6rt closed this as completed Sep 26, 2011
@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant