[Issue 660] Incorrect protection error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 1 22:32:26 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=660
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-02-01 22:32:25 PST ---
This is actually a bit worse. If you swap the order of the private static
and public virtual foo, it compiles!
class A
{
private static void foo(int i) {}
public void foo() {}
}
class B
{
void bar(int x)
{
A.foo (x);
}
}
--
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