Is this a compiler issue?

DLearner bmqazwsx123 at gmail.com
Sun Dec 7 00:06:14 UTC 2025


On Saturday, 6 December 2025 at 21:23:22 UTC, Kapendev wrote:
> On Saturday, 6 December 2025 at 21:20:37 UTC, Kapendev wrote:
>> If I am right and you want to use a static array of structs 
>> without defining this function yourself, then you could 
>> copy-paste [this 
>> code](https://github.com/Kapendev/joka/blob/main/source/joka/types.d#L61) in your project.
>
> Well, the [microui-d 
> version](https://github.com/Kapendev/microui-d/blob/main/source/microui.d#L209) of this is easier to copy-paste.

Thanks for your suggestion.

I believe the original problem is an instance of DMD bug #19579.

Best regards
DL


More information about the Digitalmars-d-learn mailing list