Summary: Void parameter errors with overloaded templates don't
                    indicate instantiation location
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Vladimir Panteleev <> 2011-12-03 
07:35:25 PST ---
This program gives a "cannot have parameter of type void" at line 1, but no
errors at the instantiation site (inside main):

void f(T...)(T a)
if (T.length > 1)

void f(T)(T a)

void g() {}

void main()

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

Reply via email to