www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14307] New: Ddoc: issue error on all functions that are


          Issue ID: 14307
           Summary: Ddoc: issue error on all functions that are missing
                    ddoc sections
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

Add switch to compiler that causes Ddoc to issue error for public functions

1. have no Ddoc comment
2. have a non-void return but no Returns: section
3. have parameters but no Params: section
4. have no Example: section


Far too many functions in Phobos have essentially non-existent documentation.

Mar 18 2015