[Issue 2599] Two variadic parameters should be accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 25 07:37:05 PST 2009


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





------- Comment #5 from smjg at iname.com  2009-01-25 09:37 -------
(In reply to comment #4)
> Try this at home:
> 
> void fun(T1, T2)(T2 x)
> {
> }
> 
> void main()
> {
>     fun!(int)("a");
> }

But where's it documented?  Are you sure it isn't a bug that DMD accepts it?


-- 



More information about the Digitalmars-d-bugs mailing list