[Issue 1809] New: template.c:2600
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 30 04:54:23 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1809
Summary: template.c:2600
Product: D
Version: 2.008
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: dhasenan at gmail.com
The error:
dmd: template.c:2600: virtual MATCH TemplateTupleParameter::matchArg(Scope*,
Objects*, int, TemplateParameters*, Objects*, Declaration**, int): Assertion `i
+ 1 == dedtypes->dim' failed.
Aborted
The code:
---
string getMixin (TArg..., int i = 0) () {
return ``;
}
class Thing (TArg...) {
mixin(getMixin!(TArg)());
}
// it doesn't matter if I add template parameters here
public Thing!() stuff;
---
--
More information about the Digitalmars-d-bugs
mailing list