March 03, 2022 [Issue 22841] New: importC: Error: variable 'var' is shadowing variable 'var' | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22841 Issue ID: 22841 Summary: importC: Error: variable 'var' is shadowing variable 'var' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org Shadowing in C11 is not forbidden, but can be warned about. --- void test() { int i; { unsigned i; } } -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply