[Issue 641] Complex string operations in template argument ICEs dmd
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 27 10:38:11 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=641
thomas-dloop at kuehne.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows |All
------- Comment #2 from thomas-dloop at 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!(""))
--
More information about the Digitalmars-d-bugs
mailing list