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
return() and gather/take interact badly #1767
Comments
From @moritzsub f { Output: No exception handler and no message I'd expect that to leave @x empty, not die. |
From @cokeOn Tue May 18 11:52:31 2010, moritz wrote:
This now generates no output. Even if you add a 'say "alive" at the end. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzOn Tue May 18 11:52:31 2010, moritz wrote:
Now segfaults with this backtrace: #0 0x00007ffff3dc998a in find_common_ctx () from dynext/perl6_ops.so |
From @moritz09:47 < moritz> p6: sub f { gather loop { take 1; return } }; say f I expected an error along the lines of "Cannot return from exhausted |
From @moritzNow with a backtrace: (gdb) run Program received signal SIGSEGV, Segmentation fault. |
@moritz - Status changed from 'new' to 'open' |
From @diakopterjnthn says fixed in 3b15966: marking testneeded. 14:40 <+dalek> rakudo/nom: 3b15966 | jnthn++ | src/ops/perl6.ops: |
From @moritzNow tested in S32-exceptions/misc.t |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75174 (status was 'resolved')
Searchable as RT75174$
The text was updated successfully, but these errors were encountered: