Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1

Max Samukha maxsamukha at gmail.com
Wed Nov 23 12:26:09 UTC 2022


On Wednesday, 23 November 2022 at 10:18:21 UTC, Quirin Schroll 
wrote:

>
> If it makes it into the spec, it would be great if you could 
> find something else.

It shouldn't make it into the spec. Enums are a special case. If 
`E x = $a` works, that is a reason for `int x = $max` to work too.




More information about the Digitalmars-d mailing list