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



--- Comment #13 from bearophile_h...@eml.cc 2010-11-08 03:24:30 PST ---
This is C# code:

class Foo {}
public class Test : Foo {
    public static void Main() {}
}


The C# compiler gives this error:
prog.cs(2,14): error CS0060: Inconsistent accessibility: base class `Foo' is
less accessible than class `Test'


While the D 2.050 compiler gives no errors with this code:

private class Foo {}
public class Bar : Foo {}
void main() {}

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

Reply via email to