Thread overview | |||||
---|---|---|---|---|---|
|
September 16, 2006 [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=352 Summary: Assertion failure: expression.c 753 - concatenating strings in a template calling another template Product: D Version: 0.166 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: smjg@iname.com ---------- template Qwert(char[] yuiop) { const char[] Qwert = yuiop; } template Asdfg(char[] yuiop) { const char[] Asdfg = Qwert!(yuiop ~ "hjkl"); } char[] zxcvb = Asdfg!(null); ---------- Assertion failure: '0' on line 753 in file 'expression.c' ---------- after which DMD hangs. -- |
September 20, 2006 Re: [Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-09-16: > http://d.puremagic.com/issues/show_bug.cgi?id=352 > template Qwert(char[] yuiop) { > const char[] Qwert = yuiop; > } > > template Asdfg(char[] yuiop) { > const char[] Asdfg = Qwert!(yuiop ~ "hjkl"); > } > > char[] zxcvb = Asdfg!(null); > ---------- > Assertion failure: '0' on line 753 in file 'expression.c' > ---------- > > after which DMD hangs. message under Linux: # # global.errors = 0, gag = 2 # 0x81470c0 ~ type=char[] e1=0x8147250 e2=0x8147230 # 0x8147250 string type=char[] # 0x8147230 null type=char[] # dmd-0.167.bin: expression.c:756: virtual void Expression::toMangleBuffer(OutBuffer*): Assertion `0' failed. Added to DStress as http://dstress.kuehne.cn/compile/o/opCat_23_A.d http://dstress.kuehne.cn/compile/o/opCat_23_B.d http://dstress.kuehne.cn/compile/o/opCat_23_C.d http://dstress.kuehne.cn/compile/o/opCat_23_D.d http://dstress.kuehne.cn/compile/o/opCat_23_E.d http://dstress.kuehne.cn/compile/o/opCat_23_F.d Thomas |
November 25, 2006 [Issue 352] Assertion failure: expression.c 753 - concatenating strings in a template calling another template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=352 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2006-11-25 03:28 ------- Fixed DMD 0.175 -- |
Copyright © 1999-2021 by the D Language Foundation