Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 21, 2018 [Issue 18609] `is` expression identifier accessible outside `static if` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18609 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Severity|enhancement |normal -- |
August 21, 2018 [Issue 18609] `is` expression identifier accessible outside `static if` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18609 ZombineDev <petar.p.kirov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petar.p.kirov@gmail.com --- Comment #1 from ZombineDev <petar.p.kirov@gmail.com> --- `static if` doesn't create a scope, so I think the current behavior is correct, though a bit suprising. -- |
February 25, 2022 [Issue 18609] `is` expression identifier accessible outside `static if` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18609 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- Yes, the behavior is correct. Static if does not introduce a scope so it is only natural that W can be seen from outside the static if scope. -- |
July 13, 2023 [Issue 18609] `is` expression identifier accessible outside `static if` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18609 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |destructionator@gmail.com --- Comment #3 from Nick Treleaven <nick@geany.org> --- *** Issue 21078 has been marked as a duplicate of this issue. *** -- |
Copyright © 1999-2021 by the D Language Foundation