[Issue 22018] New: pragma(inline) parameter not checked when the pragma is a declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 12 05:12:01 UTC 2021
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 at puremagic.com
Reporter: b2.temp at gmx.com
no error is emitted for the following code
---
pragma(inline, INVALID);
void v(){}
---
The scenario is that the semicolon is a typo.
--
More information about the Digitalmars-d-bugs
mailing list