[Issue 3934] Some untidy attributes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 26 10:40:50 PDT 2010


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



--- Comment #11 from bearophile_hugs at eml.cc 2010-09-26 10:40:03 PDT ---
This compiles with no errors with dmd 2.049, but I'd like a compile-time error
similar to "manifest constants are always static":


void foo() {
    static enum x = 10;
}
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