D needs a type expression syntax

Quirin Schroll qs.il.paperinik at gmail.com
Wed May 17 17:57:33 UTC 2023


On Wednesday, 17 May 2023 at 12:08:41 UTC, Nick Treleaven wrote:
> On Saturday, 13 May 2023 at 11:13:59 UTC, Nick Treleaven wrote:
>> It seems we could add this form to *Type* for consistency with 
>> function literals:
>> ```
>> function RefOrAutoRefopt Type ParameterWithAttributes
>> ```
>
> https://github.com/dlang/dmd/pull/15243

I implemented my original approach, but some checks don’t work. 
You might want to look into it. This is the first time I’m 
working on the compiler. It’s probably some stupid error that I 
just cannot spot. I’d really appreciate some help with it.

https://github.com/dlang/dmd/pull/15245


More information about the Digitalmars-d mailing list