www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11056] New: synchronized methods are marked shared in ddoc output

http://d.puremagic.com/issues/show_bug.cgi?id=11056

           Summary: synchronized methods are marked shared in ddoc output
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-09-17
04:48:28 PDT ---
-----
module test;

///
class C
{
    ///
    synchronized void f() { }
}

void main() { }
-----

$ dmd -D -o- -c -test.d
$ type test.html
 <dl><dt><big><a name="C.f"></a>shared void <u>f</u>();
-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 17 2013