[Issue 18609] `is` expression identifier accessible outside `static if`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 25 10:51:52 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=18609

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #2 from RazvanN <razvan.nitu1305 at 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.

--


More information about the Digitalmars-d-bugs mailing list