[Issue 5664] New: Cannot compile static synchronized member function.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 28 01:38:23 PST 2011


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

           Summary: Cannot compile static synchronized member function.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: d_lang at ku6.jp


--- Comment #0 from Takuya Kurosawa <d_lang at ku6.jp> 2011-02-28 01:35:34 PST ---
Code
----
class Hoge
{
    static synchronized
    void fun()
    {
    }
}
----

Compile error
----
test.d(4): Error: function test.Hoge.fun synchronized function fun must be a
member of a class
----

Static synchronized member function became unsupported? or bug?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list