Fixed in 754664ed54aea24f9c9162002b6e68aadd311412.
Note however, that there's a braino above, since the 'my' is initialized after 
the value is needed.  So the fix is to warn about an empty variable, not to 
make it work.  (It does work if you make it a constant, or put the my inside a 
BEGIN.)

On Thu, 29 Dec 2016 14:36:55 -0800, alex.jakime...@gmail.com wrote:
> 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?

Reply via email to