Grammar question. TypeSuffix - what is [ AssignExpression .. AssignExpression ] production for?

Quirin Schroll qs.il.paperinik at gmail.com
Fri Sep 6 09:56:48 UTC 2024


On Thursday, 5 September 2024 at 19:32:52 UTC, Nick Treleaven 
wrote:
> On Thursday, 5 September 2024 at 14:22:56 UTC, Quirin Schroll 
> wrote:
>> In fact, it was me who named it TypeSuffix; before, it was 
>> BasicType2X
>
> Thanks!
>
>> StaticArray:
>>     [ AssignExpression ]
>
> A type sequence can be indexed, so calling it StaticArray would 
> be confusing.

Of course. I missed that. Another reason not to name it!



More information about the Digitalmars-d mailing list