[Issue 883] New: ICE: nested templates with integer arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 24 09:48:47 PST 2007


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

           Summary: ICE: nested templates with integer arguments
           Product: D
           Version: 1.001
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: lio at lunesu.com


// Not sure if this is valid code or not:
struct Foo(int I)
{
        void Bar(int A)( Foo!(A) x ) {}
}
void main()
{
        Foo!(1) x,y;
        x.Bar(y);//needed for ICE
}

parse     ice
semantic  ice
import    object
semantic2 ice
semantic3 ice
*access violation at 0x009f9a91


-- 



More information about the Digitalmars-d-bugs mailing list