https://issues.dlang.org/show_bug.cgi?id=18623

          Issue ID: 18623
           Summary: Documented unittest should not allow private symbol
                    access
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

private int i;

///
unittest
{
    i++;
}

`i` is not visible outside the module, so it should not appear in public
documentation about how to use the module.

--

Reply via email to