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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 5 05:51:25 PDT 2016


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

Mathias Lang <mathias.lang at sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathias.lang at sociomantic.co
                   |                            |m

--- Comment #1 from Mathias Lang <mathias.lang at sociomantic.com> ---
Foreach creates a scope. And you are referencing `test1` from outside of that
scope.

--


More information about the Digitalmars-d-bugs mailing list