Feedback Thread: DIP 1043--Shortened Method Syntax--Community Review Round 1
Dukc
ajieskola at gmail.com
Wed Feb 9 11:19:59 UTC 2022
On Friday, 4 February 2022 at 10:57:17 UTC, Mike Parker wrote:
> ## Feedback Thread
>
> This is the feedback thread for the first round of Community
> Review of DIP 1043, "Shortened Method Syntax".
A simple feature, A simple DIP, simply good!
The only issue I can find is this:
> Function contracts are not possible with function literals, so
> this DIP does not address the issue.
Contracts are allowed with function literals, they just are not
allowed with the arrow syntax. This is a good reason to keep them
out of shortened functions too, but the reason stated here is
inaccurate.
More information about the Digitalmars-d
mailing list