[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 23 15:23:59 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24153
--- Comment #2 from ryuukk_ <ryuukk.dev at gmail.com> ---
Found the cause:
Here reduced test:
```D
struct InvBoneBindInfo
{
}
struct Test(Value)
{
void test()
{
auto t = Value.init;
}
}
extern(C) void main()
{
Test!(InvBoneBindInfo[32]) test;
test.test();
}
```
The problem is ``Value.init``, because value is a static array
--
More information about the Digitalmars-d-bugs
mailing list