Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1
Stefan Koch
uplink.coder at googlemail.com
Wed Nov 23 12:33:40 UTC 2022
On Wednesday, 23 November 2022 at 12:26:09 UTC, Max Samukha wrote:
> 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.
So $ would become something like, inferred scope lookup.
More information about the Digitalmars-d
mailing list