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

Empty object hash listifies to Nil #4307

Closed
p6rt opened this issue Jun 7, 2015 · 6 comments
Closed

Empty object hash listifies to Nil #4307

p6rt opened this issue Jun 7, 2015 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 7, 2015

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

Searchable as RT125352$

@p6rt
Copy link
Author

p6rt commented Jun 7, 2015

From @raydiak

19​:43​:05 raydiak | m​: say (my %h).list.perl
19​:43​:05 +camelia | rakudo-moar 442a56​: OUTPUT«()␤»
19​:43​:14 raydiak | m​: say (my %h{Any}).list.perl
19​:43​:15 +camelia | rakudo-moar 442a56​: OUTPUT«Nil␤»
19​:44​:00 masak | raydiak​: I don't see why that latter one should be Nil when the former isn't.
19​:44​:10 jnthn | Me either
19​:44​:34 raydiak | nor me
19​:44​:38 masak | even moreso since ISTR Nil was decoupled from meaning "undefined empty list" recently.
19​:45​:06 masak | raydiak​: please rakudobug-submit, kthx.

@p6rt
Copy link
Author

p6rt commented Jun 8, 2015

From @lizmat

Fixed with 2281689a0f9e337de935

Liz

On 07 Jun 2015, at 13​:57, (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by
# Please include the string​: [perl #​125352]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125352 >

19​:43​:05 raydiak | m​: say (my %h).list.perl
19​:43​:05 +camelia | rakudo-moar 442a56​: OUTPUT«()␤»
19​:43​:14 raydiak | m​: say (my %h{Any}).list.perl
19​:43​:15 +camelia | rakudo-moar 442a56​: OUTPUT«Nil␤»
19​:44​:00 masak | raydiak​: I don't see why that latter one should be Nil when the former isn't.
19​:44​:10 jnthn | Me either
19​:44​:34 raydiak | nor me
19​:44​:38 masak | even moreso since ISTR Nil was decoupled from meaning "undefined empty list" recently.
19​:45​:06 masak | raydiak​: please rakudobug-submit, kthx.

@p6rt
Copy link
Author

p6rt commented Jun 8, 2015

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

@p6rt
Copy link
Author

p6rt commented Jun 22, 2015

From @usev6

I added a test to S09-hashes/objecthash.t with commit Raku/roast@9d5a3ec119

I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jun 22, 2015

From @usev6

I added a test to S09-hashes/objecthash.t with commit Raku/roast@9d5a3ec119

I'm closing this ticket as 'resolved'.

@p6rt p6rt closed this as completed Jun 22, 2015
@p6rt
Copy link
Author

p6rt commented Jun 22, 2015

@usev6 - 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