Bug 11056 – synchronized methods are marked shared in ddoc output

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-09-17T04:48:28Z
Last change time
2020-07-04T17:01:10Z
Keywords
ddoc
Assigned to
No Owner
Creator
Andrej Mitrovic

Comments

Comment #0 by andrej.mitrovich — 2013-09-17T04:48:28Z
----- 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>();
Comment #1 by b2.temp — 2020-07-04T17:01:10Z
module test; /// class C { /// synchronized void f() { } pragma(msg, __traits(getFunctionAttributes, C.f)); } void main() { } gives > tuple("shared", "@system")