digitalmars.D.bugs - [Issue 22018] New: pragma(inline) parameter not checked when the
- d-bugmail puremagic.com (21/21) Jun 11 2021 https://issues.dlang.org/show_bug.cgi?id=22018
https://issues.dlang.org/show_bug.cgi?id=22018 Issue ID: 22018 Summary: pragma(inline) parameter not checked when the pragma is a declaration Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: b2.temp gmx.com no error is emitted for the following code --- pragma(inline, INVALID); void v(){} --- The scenario is that the semicolon is a typo. --
Jun 11 2021