Discussion Thread: DIP 1032--Function pointers and Delegate Parameters...--Community Review Round 1
Mathias LANG
geod24 at gmail.com
Thu Jul 30 03:25:32 UTC 2020
On Thursday, 30 July 2020 at 02:03:56 UTC, Walter Bright wrote:
>
> The right way to solve that problem is for the compiler to
> merge functions that are semantically identical, because there
> are a lot more instances of that than in this example.
>
> Having a messy compiler feature for it is not the best.
>
> P.S. gdc/ldc may already do this as C++ has the same issue
The frontend will reject the code before it makes it to the
IR/backend, on the ground of mismatched attributes.
More information about the Digitalmars-d
mailing list