digitalmars.D.bugs - [Issue 4858] New: Cannot call synchronized method through super
- d-bugmail puremagic.com (28/28) Sep 13 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4858
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: nobody puremagic.com
ReportedBy: doob me.com
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: -------
Sep 13 2010








d-bugmail puremagic.com