[Issue 664] New: is(func T == return) ignores variadic arguments

Bruno Medeiros brunodomedeiros+spam at com.gmail
Sat Dec 9 05:27:40 PST 2006


d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=664
> 
>            Summary: is(func T == return) ignores variadic arguments
>            Product: D
>            Version: 0.176
>           Platform: PC
>         OS/Version: Linux
>             Status: NEW
>           Severity: normal
>           Priority: P2
>          Component: DMD
>         AssignedTo: bugzilla at digitalmars.com
>         ReportedBy: thomas-dloop at kuehne.cn
> 
> 
> according to is(... == return) all the functions below have the same argument
> types:
> 
> void foo(int);
> void foo(int ...);
> void foo(int, ...);
> 
> 

perhaps you mean '== function' and not '== return' ?

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-bugs mailing list