[Issue 3482] ICE(template.c:4017): instantiating invalid tuple template. D1 only.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 6 23:35:19 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3482
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
Summary|ICE(template.c:4017): |ICE(template.c:4017):
|Identifier* |instantiating invalid tuple
|TemplateInstance::genIdent( |template. D1 only.
|): Assertion `0' failed. |
Severity|normal |regression
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-11-06 23:35:18 PST ---
This is a regression between 1.036 and 1.041. It's nothing to do with return
values: any error inside a tuple template will do it:
void foo(T...)() {
bug;
}
void main() {
foo!(int, char)();
}
On DMD1.041, this produced:
Assertion failure: 'i < parameters->dim' on line 796 in file 'template.c'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list