Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

Multi-dim hash loses track of leaf type #4528

Open p6rt opened 9 years ago

p6rt commented 9 years ago

Migrated from rt.perl.org#126030 (status was 'open')

Searchable as RT126030$

p6rt commented 9 years ago

From @TimToady

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 \   at /tmp/NWldXMtkgi​:1␤␤»

p6rt commented 6 years ago

From @AlexDaniel

Still reproducible (2017.11,HEAD(e5b660e))

On 2015-09-09 22​:28​:41, larry wrote​:

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 \ at /tmp/NWldXMtkgi​:1␤␤»

p6rt commented 6 years ago

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