[Issue 599] ExpressionTuple doesn't match template's alias parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 10 03:56:18 PDT 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |rejects-valid




------- Comment #1 from smjg at iname.com  2007-09-10 05:56 -------
Here's what I get (DMD 0.121, Windows):

bz599.d(7): template instance test2!(_param_0,_param_1,_param_2) does not match
any template declaration
bz599.d(7): Error: void has no value
bz599.d(7): Error: incompatible types for ((test2!(_param_0,_param_1,_param_2))
== (0)): 'void' and 'int'
bz599.d(11): template instance bz599.test!(int,char[1u],char) error
instantiating

The problem seems to be that it doesn't like a tuple as a template alias
parameter.  From what I can make out of the spec, it ought to work.


-- 



More information about the Digitalmars-d-bugs mailing list