> On 28 May 2017, at 20:56, brian d foy (via RT) <perl6-bugs-follo...@perl.org> 
> wrote:
> 
> # New Ticket Created by  "brian d foy" 
> # Please include the string:  [perl #131392]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=131392 >
> 
> 
> It looks like %() with no characters between the parens creates a
> Map, but if there's at least one character between the parens, it
> creates a Hash. I figure all of these should create a Hash:
> 
>    my %hash = %();
>    put '1: ', %hash.^name;          # 1: Hash
> 
>    my $hash-empty = %();
>    put '2: ', $hash-empty.^name;    # 2: Map
> 
>    my $hash-space = %( );
>    put '3: ', $hash-space.^name;    # 3: Hash

FWIW, I have not been able to reproduce it, not on 2017.04.3 or HEAD or even 
2015.12.  So I find all of this rather strange  :-)

Reply via email to