Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 03, 2006 [Issue 641] New: Complex string operations in template argument ICEs dmd | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=641 Summary: Complex string operations in template argument ICEs dmd Product: D Version: 0.176 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: kinaba@is.s.u-tokyo.ac.jp // credit goes to http://pc8.2ch.net/test/read.cgi/tech/1158013550/960 template g(char[] s){} void main(){ g!(([""]~[])[0]); } ---------------- Assertion failure: 'e1->type' on line 5933 in file 'expression.c' abnormal program termination -- |
December 10, 2006 Re: [Issue 641] New: Complex string operations in template argument ICEs dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-12-03: > http://d.puremagic.com/issues/show_bug.cgi?id=641 > // credit goes to http://pc8.2ch.net/test/read.cgi/tech/1158013550/960 > template g(char[] s){} > void main(){ g!(([""]~[])[0]); } > ---------------- > Assertion failure: 'e1->type' on line 5933 in file 'expression.c' > > abnormal program termination Added to DStress as http://dstress.kuehne.cn/nocompile/b/bug_expression_5981_A.d http://dstress.kuehne.cn/nocompile/b/bug_expression_5981_B.d Thomas |
April 27, 2007 [Issue 641] Complex string operations in template argument ICEs dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=641 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All ------- Comment #2 from thomas-dloop@kuehne.cn 2007-04-27 12:38 ------- DMD-1.013 doesn't segfault but produces a funny error message: 14 template g(char[] s){ 15 } 16 17 void foo(){ 18 g!(([""]~[])[0]); 19 } nocompile/b/bug_expression_5981_A.d(18): Error: import has no effect in expression (g!("")) -- |
July 01, 2007 [Issue 641] Complex string operations in template argument ICEs dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=641 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from bugzilla@digitalmars.com 2007-07-01 13:27 ------- Fixed DMD 1.018 and DMD 2.002 -- |
Copyright © 1999-2021 by the D Language Foundation