[Issue 1667] New: Forward reference to struct initializer in template
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Nov 13 12:13:56 PST 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1667
           Summary: Forward reference to struct initializer in template
           Product: D
           Version: 1.023
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jarrett.billingsley at gmail.com
struct S
{ // line 34 is this brace.
        int x;
}
template Foo(T)
{
        alias Tuple!(T.init) Foo;
}
alias Tuple!(Foo!(S)) t;
dtest.d(34): declaration _D5dtest1S6__initZ forward declaration
RRRRRRRRRGHHHHHHHH
GHASDIGHGHHGGH
GGGGGGGGGGGGGGG
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list