Difference between "can call" and "can compile"

Stefan Koch uplink.coder at googlemail.com
Mon Sep 7 15:24:23 UTC 2020


On Monday, 7 September 2020 at 15:08:42 UTC, FeepingCreature 
wrote:
> On Monday, 7 September 2020 at 14:57:24 UTC, Steven 
> Schveighoffer wrote:
>> I was wondering, would it be a useful addition to have a way 
>> to say "can call" instead of "can compile"? In other words, 
>> this has a valid template IFTI match, regardless of whether it 
>> compiles or not. In which case, you can distinguish mismatch 
>> errors from implementation errors.
>>
>> Thoughts?
>>
>> -Steve
>
> Yes yes yes yes yes *yes yes*!
>
> Please!!!!!
>
> This would make template errors so unbelievably much better.

I can see the appeal of the feature.

Let me think about how difficult that would be to implement.




More information about the Digitalmars-d mailing list