www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14633] New: DDoc: false warnings for missing parameters on


          Issue ID: 14633
           Summary: DDoc: false warnings for missing parameters on
                    template declaration
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: lio+bugzilla lunesu.com

There are two cases where the ddoc compiler issues a warning for missing

/** Blah
    T = some type
    test = something
template case1(T)
  void case1(R)(R test) { }

alias case2 = case1!int;

In both cases `test` refers to the function parameter for the template function
`case1`. The ddoc compiler current looks for function parameters and template
parameters, but does not check the function parameters of a nested/eponymous
function template declaration.

May 30 2015