First Draft: Static Single Assignment
Meta
jared771 at gmail.com
Wed Nov 19 18:39:04 UTC 2025
On Wednesday, 19 November 2025 at 08:29:17 UTC, Jonathan M Davis
wrote:
> On Tuesday, November 18, 2025 2:26:50 PM Mountain Standard Time
> Peter C via dip.development wrote:
>> It's highly unlikely that 'init' or 'fixed' (which is now my
>> new preference) .. or whatever it ends up being called, is
>> currently being used in existing code as an identifier
>> preceding the initialization of a variable.
>>
>> It would be contextual keyword - the context being -> variable
>> declaration and assignment.
>
> D does not have contextual keywords, and Walter has rejected
> the idea when it has been proposed in the past. In D, if an
> identifier is a keyword, it's a keyword everywhere.
>
> - Jonathan M Davis
That's not entirely true. `body` became a contextual keyword
after DIP 1003 IIRC.
More information about the dip.development
mailing list