Feedback Thread: DIP 1043--Shortened Method Syntax--Community Review Round 1
Basile B.
b2.temp at gmx.com
Sat Feb 5 13:02:27 UTC 2022
On Saturday, 5 February 2022 at 12:40:04 UTC, Basile B. wrote:
> On Friday, 4 February 2022 at 10:57:17 UTC, Mike Parker wrote:
>> [...]
>
> It was discovered in the discussion thread that the fact that
> shorthand syntax is done at parse-time, on a
> `FunctionDeclaration`, causes problem with constructors (and
> possibly destructors). D AST defines different classes for
> destructors and constructors (`CtorDeclaration` and
> `DtorDeclaration`). Special processing are done or those two
> kinds of declarations, during semantic checks, notably the
> handling of constructor returns.
>
> [...]
Sorry Mike, I request deletion of my previous comment, it does
not nail the issue accurately enough. Only the second point of
the list was valid.
More information about the Digitalmars-d
mailing list