A strange DMD error

Keivan Shah keivan.shah at silverleafcaps.com
Wed Nov 2 08:22:01 UTC 2022


On Tuesday, 1 November 2022 at 16:39:57 UTC, Steven Schveighoffer 
wrote:
> 100% this is a bug in DMD. It should be filed.
>
> I ran some more tests, removing almost any of the parameters or 
> changing their types seems to avoid the problem.
>
> I also added a parameter name for the second parameter, and DMD 
> appears to be in this case passing the parameters in the wrong 
> order (t1 is actually tt, t2 is null)
>
> You can also remove the `import std`, just the assert is enough.
>
> Please file if you can: https://issues.dlang.org
>
> -Steve

Hey, have already filled an issue: 
[#23450](https://issues.dlang.org/show_bug.cgi?id=23450)




More information about the Digitalmars-d-learn mailing list