[Issue 24153] New: Inliner breaks -betterC by requiring TypeInfo
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 23 14:48:20 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24153
Issue ID: 24153
Summary: Inliner breaks -betterC by requiring TypeInfo
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: blocker
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ryuukk.dev at gmail.com
The following code:
https://gist.github.com/ryuukk/4f526503cd24f4f5e4b16ef823b523d1
(i tried to strip as much code as possible)
Fail to compile:
```
_.d(1): Error: `TypeInfo` cannot be used with -betterC
struct InvBoneBindInfo
^
```
dmd: `dmd -betterC -inline -verrors=context -run _.d`
version: 2.105.2
--
More information about the Digitalmars-d-bugs
mailing list