[Issue 15903] New: module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 9 01:50:09 PDT 2016


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

          Issue ID: 15903
           Summary: module foo.bar is not accessible here, perhaps add
                    'static import foo.bar; (already there)
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: timothee.cour2 at gmail.com

I am getting a nonsensical deprecation telling me to add static import foo.bar;
when it's right there already

dmd version: 
DMD64 D Compiler v2.070-devel-36feb02 (but due to another bug I reported it's
actually the latest 2.071)

...
static import foo.bar;
class Foo(T...)   if(foo.bar.fun!(foo.bar.baz!(int), T)) { ...} // deprecation
msg
...

--


More information about the Digitalmars-d-bugs mailing list