July 16, 2008 [Issue 2230] New: Compiler crashes on invalid code (revisited) | ||||
---|---|---|---|---|
| ||||
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)(); } -- |
July 16, 2008 [Issue 2230] Compiler crashes on invalid code (revisited) | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2230 samukha@voliacable.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from samukha@voliacable.com 2008-07-16 06:32 ------- Marking this a duplicate of 2229, as they seem to be the same bug. *** This bug has been marked as a duplicate of 2229 *** -- |
Copyright © 1999-2021 by the D Language Foundation