[Issue 1784] DMD 1.025 ICE on template parameter following tuple parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 12 01:15:18 PST 2008


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


matti.niemenmaa+dbugzilla at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
         OS/Version|Linux                       |All
           Platform|PC                          |All
            Summary|DMD 1.025 asserts tuples    |DMD 1.025 ICE on template
                   |mixed with defaults         |parameter following tuple
                   |                            |parameter
            Version|unspecified                 |1.025




------- Comment #1 from matti.niemenmaa+dbugzilla at iki.fi  2008-01-12 03:15 -------
The default value is unnecessary, anything following the tuple will do:

template A(tuple ..., bool first) {}

A!() a;


-- 



More information about the Digitalmars-d-bugs mailing list