http://d.puremagic.com/issues/show_bug.cgi?id=3482


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@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 <clugd...@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: -------

Reply via email to