www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15903] New: module foo.bar is not accessible here, perhaps

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 puremagic.com
          Reporter: timothee.cour2 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
...

--
Apr 09 2016