www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13323] New: UDA applied to import statement causes

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

          Issue ID: 13323
           Summary: UDA applied to import statement causes compilation to
                    fail without error
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

struct UDA {}

struct S
{
   UDA:
  import std.string;
}

Compilation takes a long time, and eventually fails. No error is output.

--
Aug 18 2014