www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5664] New: Cannot compile static synchronized member function.

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: d_lang ku6.jp



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: -------
Feb 28 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664




dmd version: 2.052

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 28 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664


wolfwood <transmethyl+dmd gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |transmethyl+dmd gmail.com
           Platform|x86                         |All
            Version|D2                          |D1 & D2
         OS/Version|Windows                     |All
           Severity|normal                      |regression



PDT ---
static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. 
seems that some D2 code was merged between these two versions.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 27 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664




PDT ---

 static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. 
 seems that some D2 code was merged between these two versions.
this was broken by this commit: https://github.com/D-Programming-Language/dmd/commit/d19e57c3f0683ac3a0b290f5b73deb86aa1a6441 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 27 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664


wolfwood <transmethyl+dmd gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nobody puremagic.com        |transmethyl+dmd gmail.com



PDT ---
fixed in this pull request.

https://github.com/D-Programming-Language/dmd/pull/48



 static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. 
 seems that some D2 code was merged between these two versions.
this was broken by this commit: https://github.com/D-Programming-Language/dmd/commit/d19e57c3f0683ac3a0b290f5b73deb86aa1a6441
-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 03 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664




PDT ---
fixed in this pull request.

https://github.com/D-Programming-Language/dmd/pull/48



 static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. 
 seems that some D2 code was merged between these two versions.
this was broken by this commit: https://github.com/D-Programming-Language/dmd/commit/d19e57c3f0683ac3a0b290f5b73deb86aa1a6441
-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 03 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664


wolfwood <transmethyl+dmd gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



PDT ---
Fixed by commits 80c9a57 and 7ec9a76.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 03 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5664


Walter Bright <bugzilla digitalmars.com> changed:

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



15:13:45 PDT ---
https://github.com/D-Programming-Language/dmd/commit/80c9a5722a328099b1193d4d7cf43ea9c50fd565

https://github.com/D-Programming-Language/dmd/commit/7ec9a76518512e6536ebf42a904b7bd94059e63b

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