June 12, 2021 [Issue 22018] New: pragma(inline) parameter not checked when the pragma is a declaration | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation