[Issue 664] is(func T == function) ignores variadic arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 19 05:23:41 PST 2011


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



--- Comment #7 from Stewart Gordon <smjg at iname.com> 2011-12-19 05:23:40 PST ---
(In reply to comment #6)
> How does that solve the problem? The root cause is that is( ==function) assumes
> that all of the function parameters can be returned in a tuple, but that isn't
> true for ...

In what way does it make that assumption?

> Or do you mean that is( x==function) should be an error if x has a variadic
> parameter?

Of course not.  What would be the point of that?

-- 
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