[Issue 17144] New: [REG 2.071] local imports became invisible

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 4 03:57:23 PST 2017


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

          Issue ID: 17144
           Summary: [REG 2.071] local imports became invisible
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dfj1esp02 at sneakemail.com

struct A
{
  import core.stdc.stdio;
}

void f()
{
  A.puts("a");
}

Should give deprecation instead of an error.

--


More information about the Digitalmars-d-bugs mailing list