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

           Summary: Cannot call synchronized method through super
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: d...@me.com


--- Comment #0 from Jacob Carlborg <d...@me.com> 2010-09-13 01:05:04 PDT ---
Compiling this piece of code:

class Base
{
     synchronized void func (string s) { }
}

class Foo : Base
{
     synchronized void bar (string key) { super.func(key); }
}

Gives this error:

main.d(13): Error: function main.Base.func (string s) shared is not callable
using argument types (string)

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

Reply via email to