[Issue 13567] Attribute inference for private functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 11 20:15:06 PDT 2015


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Example:

  private void bar() { }

  void foo() @safe {
    bar();
  }

should work.

--


More information about the Digitalmars-d-bugs mailing list