DIP 1030--Named Arguments--Community Review Round 1 Discussion

Paul Backus snarwin at gmail.com
Thu Feb 6 17:48:39 UTC 2020


On Thursday, 6 February 2020 at 17:03:06 UTC, Andrea Fontana 
wrote:
> On Thursday, 6 February 2020 at 15:30:40 UTC, Steven 
> Schveighoffer wrote:
>> On 2/6/20 4:39 AM, Andrea Fontana wrote:
>> Might be a good point to add UFCS discussion to the DIP.
>>
>> -Steve
>
> I wonder whether or not "(c: 3).doStuff(3,4);" could be 
> useful... Probably it just adds some noise.

Remmeber, UFCS is only tried when property lookup fails. Since 
`(c: 3).doStuff` is not a valid property access, it cannot 
possibly be a valid UFCS call.


More information about the Digitalmars-d mailing list