DIP1044---"Enum Type Inference"---Formal Assessment

Stefan Koch uplink.coder at googlemail.com
Wed Apr 26 08:19:03 UTC 2023


On Wednesday, 26 April 2023 at 01:39:14 UTC, Walter Bright wrote:
> On 4/25/2023 1:15 PM, ryuukk_ wrote:
>> Or perhaps, listen to this person: 
>> https://github.com/dlang/dmd/pull/14650
>
> That only does a subset of the proposal. The inference only 
> works in specific cases. Things like function overloading are 
> not addressed.

While it is true that it only implements a subset of the proposal.
It does implemnent function overloading for non-templated 
functions the specific code for this is here:
https://github.com/dlang/dmd/pull/14650/files#diff-fdd319cc59bac2d5ef6bc04f806fd564a3549e1cce44c7d01b4ec9e40792e3daR7172-R7190


More information about the Digitalmars-d-announce mailing list