[Issue 3858] New: mixin protection attribute is ignored

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 26 14:46:30 PST 2010


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

           Summary: mixin protection attribute is ignored
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: jlquinn at optonline.net


--- Comment #0 from Jerry Quinn <jlquinn at optonline.net> 2010-02-26 14:46:29 PST ---
class C {
  mixin("private:");
  void f() {}
  invariant() { f(); }
}

fails to compile.  The private attribute is probably not being inserted early
enough during the parsing process.

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