Summary: Overload resolution rejects valid code when mixing
                    variadics, non-variadics
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from David Simcha <> 2010-08-18 19:55:58 PDT ---
Possibly related to 4652.

void doNothing(T...)(T args, string str) {}
void doNothing(T...)(T args) {}

void main() {
    doNothing(1, 2, 3);

test9.d(56): Error: template test9.doNothing(T...) doNothing(T...) matches more
than one template declaration, test9.d(52):doNothing(T...) and

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to