https://d.puremagic.com/issues/show_bug.cgi?id=12261

           Summary: regression(2.065): alias T cannot bind to templated
                    type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Timothee Cour <[email protected]> 2014-02-25 
22:52:00 PST ---
struct A1(T){}
template isAliasable(alias T)
{
  enum isAliasable=true;
}
template isAliasable(T)
{
  enum isAliasable=false;
}
void main(){
  alias foo=A1!double; //this works
  static assert(isAliasable!(A1!double)); //ok in 2.064.2; CT error in 2.065
even though previous line ok

}

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

Reply via email to