[Issue 19305] In symbol lookup, with statement becomes stronger than an inner scope import statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 27 15:22:02 UTC 2018


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

--- Comment #4 from karita <shigekikarita at gmail.com> ---
For more clear example, 2.083 runs this without any errors.

void main() {
    with (a) {
        {
            import b;
            assert(f == "a");
        }
    }
}

--


More information about the Digitalmars-d-bugs mailing list