Skip Menu |
Report information
Id: 126030
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: larry <larry [at] wall.org>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



From: Larry Wall <larry [...] wall.org>
To: rakudobug [...] perl.org
Date: Thu, 10 Sep 2015 07:28:32 +0200
Subject: Multi-dim hash loses track of leaf type
Download (untitled) / with headers
text/plain 251b
22:22 < TimToady> m: my Bool %hash{*;*}; %hash{"a"; "b"} = True;
22:22 <+camelia> rakudo-moar c54773: OUTPUT«Type check failed in assignment to '%hash'; expected 'Bool' but got 'Hash'␤  in block <unit>
                 at /tmp/NWldXMtkgi:1␤␤»

Still reproducible (2017.11,HEAD(e5b660e))

On 2015-09-09 22:28:41, larry wrote:
Show quoted text
> 22:22 < TimToady> m: my Bool %hash{*;*}; %hash{"a"; "b"} = True;
> 22:22 <+camelia> rakudo-moar c54773: OUTPUT«Type check failed in assignment
> to '%hash'; expected 'Bool' but got 'Hash'␤ in block <unit>
> at /tmp/NWldXMtkgi:1␤␤»




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org