draft proposal for Sum Types for D

Walter Bright newshound2 at digitalmars.com
Fri Dec 2 01:45:59 UTC 2022


On 11/30/2022 12:49 AM, Andrey Zherikov wrote:
> Please consider moving `?` to be after identifier so the following can be allowed:

Problems with:

    a?

and:

    a?b:c

It's not impossible to do, but it requires arbitrary lookahead to resolve and I 
like to keep the parser simple and fast.


More information about the Digitalmars-d mailing list