[Issue 16354] CTFE static foreach doesn't work with mixin import

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 5 06:17:43 PDT 2016


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

greensunny12 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from greensunny12 at gmail.com ---
> Foreach creates a scope. And you are referencing `test1` from outside of that scope.

Oh damn. Sorry about the noise :/

--


More information about the Digitalmars-d-bugs mailing list