[Issue 18623] New: Documented unittest should not allow private symbol access

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 17 09:50:09 UTC 2018


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: nobody at puremagic.com
          Reporter: nick at geany.org

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.

--


More information about the Digitalmars-d-bugs mailing list