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
Infinite pretzel recursion when replacing a hash value with an array containing the old value in Rakudo #819
Comments
From @masak<masak> rakudo: my %p; %p<a> = [%p<a>, 4]; say %p.perl |
From @masak<jnthn> masak: We already had a ticket on .perl on recursive data |
@masak - Status changed from 'new' to 'open' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-names_and_variables/perl.t commit 31c7bee223f2343bb87ca5e8d28476a3787e71d5 [t/spec] Test for RT #64080 (may be misplaced) Inline Patchdiff --git a/t/spec/S02-names_and_variables/perl.t b/t/spec/S02-names_and_variables/perl.t
index 667c4e1..85f9c92 100644
--- a/t/spec/S02-names_and_variables/perl.t
+++ b/t/spec/S02-names_and_variables/perl.t
@@ -55,7 +55,7 @@ my @tests = (
[ { :a(1) }, { :b(2), :c(3) } ],
);
-plan 14 + 2*@tests;
+plan 17 + 2*@tests;
#?pugs emit force_todo 8, 45..50, 94, 96;
#?pugs emit unless $?PUGS_BACKEND eq "BACKEND_PUGS" {
@@ -185,3 +185,14 @@ plan 14 + 2*@tests;
is @reconstituted, @original,
"eval of .perl returns original for '$dehydrated'";
}
+
+# RT #64080
+{
+ my %h;
+ lives_ok { %h<a> = [%h<a>] },
+ 'can assign list with new hash element to itself';
+ #?rakudo skip 'RT #64080'
+ lives_ok { %h<a>.perl }, 'can take .perl from hash element';
+ #?rakudo todo 'RT #64080'
+ ok %h<a> !=== %h<a>[0], 'hoa does not refer to hash element';
+} |
From @petdanceAre these automatic mails valuable? I suspect they're jamming up RT. Unless I'm missing something. xoxo, Begin forwarded message:
-- |
From @pmichaudFor each ticket that is open, it's very useful to know that If messages simply updating the status of tickets in RT Pm On Tue, Jul 28, 2009 at 08:32:56PM -0500, Andy Lester wrote:
|
From @kylehaOn Tue, Jul 28, 2009 at 8:32 PM, Andy Lester<andy@petdance.com> wrote:
If they're causing a problem, I'll (1) be very surprised, and (2) I find them valuable so that I don't embark on the task of testing a Kyle. |
From @petdanceOn Jul 28, 2009, at 10:25 PM, Kyle Hasselbacher wrote:
That's fine. I just have never heard discussions of them. Thanks for xoa -- |
From @jnthnJust to weigh in with another developer opinion... Patrick R. Michaud wrote:
Agree - I find them useful too. Tickets shouldn't be closed without Thanks, Jonathan |
From @moritzOn Tue Jul 28 18:20:38 2009, KyleHa wrote:
The tests now pass, although with a bit of cheating: 23:41 < moritz_> rakudo: my %p; %p<a> = [%p<a>, 4]; say %p.perl What should we do with this bug? |
From @felliottThis works now. I've unfudged the final test and I'm marking it 'resolved'. Cheers, |
@felliott - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#64080 (status was 'resolved')
Searchable as RT64080$
The text was updated successfully, but these errors were encountered: