[Issue 3934] Some untidy attributes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 21 13:29:04 PDT 2010


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



--- Comment #10 from bearophile_hugs at eml.cc 2010-09-21 13:28:24 PDT ---
Structs can't be subclassed, so protected struct fields seem a bug. This
compiles with dmd 2.049:


struct Foo {
    protected int x;
}
void main() {}

-- 
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