www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 172] New: "Internal error: e2ir.c 736" on valid code

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=172

           Summary: "Internal error: e2ir.c 736" on valid code
           Product: D
           Version: 0.159
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: h3r3tic mat.uni.torun.pl


template Foo()
{
        template func() {
                int func() {
                        return 0;
                }
        }
}

class Baz
{
        mixin Foo bar;
}

void main() {
        auto x = (new Baz).bar.func!()();
}


-- 
Jun 01 2006
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail puremagic.com schrieb am 2006-06-01:
 http://d.puremagic.com/bugzilla/show_bug.cgi?id=172
 template Foo()
 {
         template func() {
                 int func() {
                         return 0;
                 }
         }
 }

 class Baz
 {
         mixin Foo bar;
 }

 void main() {
         auto x = (new Baz).bar.func!()();
 }
Added to DStress as http://dstress.kuehne.cn/b/bug_e2ir_736_A.d http://dstress.kuehne.cn/b/bug_e2ir_736_B.d http://dstress.kuehne.cn/b/bug_e2ir_736_C.d http://dstress.kuehne.cn/b/bug_e2ir_736_D.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEgErD3w+/yD4P9tIRAhtVAJwPKrbVJ9+uNOJO8NBKMcdo+6ZhUACcDEKq mWKrs9NNiR3GIVP8QOfdlaQ= =9GjR -----END PGP SIGNATURE-----
Jun 02 2006