digitalmars.D.bugs - Internal error: ../ztc/cgcs.c 353 (dmd 0.129 on linux)
- James Dunne (17/17) Aug 28 2005 test1() will fail to compile with internal error whereas test2() will pa...
- =?ISO-8859-1?Q?Thomas_K=FChne?= (22/37) Aug 28 2005 -----BEGIN PGP SIGNED MESSAGE-----
test1() will fail to compile with internal error whereas test2() will pass and compile. public class Foo { public this() { } } void test1() { Foo[] foos; foos[] = new Foo() ~ foos[]; } /+ void test2() { int[] foos; foos[] = 3 ~ foos[]; } +/ Regards, James Dunne
Aug 28 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Dunne schrieb:test1() will fail to compile with internal error whereas test2() will pass and compile. public class Foo { public this() { } } void test1() { Foo[] foos; foos[] = new Foo() ~ foos[]; } /+ void test2() { int[] foos; foos[] = 3 ~ foos[]; } +/Added to DStress as http://dstress.kuehne.cn/run/b/bug_cgcs_353_A3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_B3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_C3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_D3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_E3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_F3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_G3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_H3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_I3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_J3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_K3.d http://dstress.kuehne.cn/run/b/bug_cgcs_353_L3.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDEqPA3w+/yD4P9tIRAtNfAKCP7Pr3m1KazjIX4zQfEbcdtKJV6wCgqYgj r6g5yzjde/d2QySpt4bRL3M= =Lt0N -----END PGP SIGNATURE-----
Aug 28 2005