[Issue 4858] New: Cannot call synchronized method through super
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 13 01:05:33 PDT 2010
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 at puremagic.com
ReportedBy: doob at me.com
--- Comment #0 from Jacob Carlborg <doob at 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: -------
More information about the Digitalmars-d-bugs
mailing list