digitalmars.D.bugs - [Issue 3858] New: mixin protection attribute is ignored
- d-bugmail puremagic.com (24/24) Feb 26 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3858
- d-bugmail puremagic.com (17/17) Mar 13 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3858
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 puremagic.com
ReportedBy: jlquinn optonline.net
---
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: -------
Feb 26 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3858
Jerry Quinn <jlquinn optonline.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|Other |x86
Summary|mixin protection attribute |mixin attribute is ignored
|is ignored |
---
This is another example of the same phenomenon. This should fail to compile,
but succeeds.
class F {
mixin("static:");
void foo() { throw this; }
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 13 2010








d-bugmail puremagic.com