[Issue 18609] `is` expression identifier accessible outside `static if`
https://issues.dlang.org/show_bug.cgi?id=18609 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |WONTFIX --- Comment #2 from RazvanN --- 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. --
[Issue 18609] `is` expression identifier accessible outside `static if`
https://issues.dlang.org/show_bug.cgi?id=18609 Nick Treleaven changed: What|Removed |Added Keywords||accepts-invalid Severity|enhancement |normal --
[Issue 18609] `is` expression identifier accessible outside `static if`
https://issues.dlang.org/show_bug.cgi?id=18609 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com --- Comment #1 from ZombineDev --- `static if` doesn't create a scope, so I think the current behavior is correct, though a bit suprising. --
[Issue 18609] `is` expression identifier accessible outside `static if`
https://issues.dlang.org/show_bug.cgi?id=18609 Nick Treleaven changed: What|Removed |Added CC||destructiona...@gmail.com --- Comment #3 from Nick Treleaven --- *** Issue 21078 has been marked as a duplicate of this issue. *** --