Another example of how AI is bad, bug fix for 20875

user1234 user1234 at 12.de
Tue Apr 7 14:40:50 UTC 2026


On Tuesday, 7 April 2026 at 14:06:58 UTC, Dennis wrote:
> On Tuesday, 7 April 2026 at 12:41:59 UTC, user1234 wrote:
>> [...]
>
> The compiler analyses expressions depth first. It checks 
> arguments before checking whether the expression is callable. 
> If you change `FT(0)` into `FT("")`, it reports "Error: cannot 
> implicitly convert expression `""` of type `string` to `int`" 
> which hides the "type `void(int)` is not an expression" error. 
> This has always been the case.
>
> [...]

Look, I' have nothing against you Mr Dennis. It's a whole chain 
of errors: bad PR, poor review, merged too early.


More information about the Digitalmars-d mailing list