Skip Menu |
Report information
Id: 130446
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



Subject: [REGRESSION] [LTA] Creating an enum from a Hash does not work but no longer warns (enum Bits (%thing))
Download (untitled) / with headers
text/plain 287b
Code: my %h = <a 1 b 2>; enum Bits (%h); dd Bits.enums Result (2016.05): WARNINGS for /tmp/R9MG8i4xtv: Useless use of %h in sink context (line 1) Map.new(()) Result (HEAD): Map.new(()) It is kinda sad that the error message is no longer there. Is there anything we can do about it?
Same thing with an array

On 2016-12-29 14:36:55, alex.jakimenko@gmail.com wrote:
Show quoted text
> Code:
> my %h = <a 1 b 2>; enum Bits (%h); dd Bits.enums
>
>
> Result (2016.05):
> WARNINGS for /tmp/R9MG8i4xtv:
> Useless use of %h in sink context (line 1)
> Map.new(())
>
>
> Result (HEAD):
> Map.new(())
>
>
> It is kinda sad that the error message is no longer there. Is there
> anything we can do about it?




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