http://d.puremagic.com/issues/show_bug.cgi?id=10655

           Summary: Error: recursive alias declaration
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thelastmamm...@gmail.com


--- Comment #0 from thelastmamm...@gmail.com 2013-07-16 17:32:06 PDT ---
----
//OK:
alias T=typeof(x);
T x0;
@property auto x(){
  return 1.1;
}

//NG:
struct A{
  alias T=typeof(x); //Error: alias main.A.T recursive alias declaration
  T x0;
  @property auto x(){
    return 1.1;
  }
}
----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to