digitalmars.D.bugs - [Issue 2230] New: Compiler crashes on invalid code (revisited)
- d-bugmail puremagic.com (28/28) Jul 16 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2230
- d-bugmail puremagic.com (10/10) Jul 16 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2230
http://d.puremagic.com/issues/show_bug.cgi?id=2230 Summary: Compiler crashes on invalid code (revisited) Product: D Version: 2.017 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: samukha voliacable.com The following crashes the compiler if Bar does not exist or has an error. Related to 2229 template Bar(A...) { alias inty Bar; // invalid } void foo(A...)(Bar!(A) a) { } void main() { // works if second set of parens // or second parameter are removed foo!(1, 2)(); } --
Jul 16 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2230 samukha voliacable.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE Marking this a duplicate of 2229, as they seem to be the same bug. *** This bug has been marked as a duplicate of 2229 *** --
Jul 16 2008