February 26, 2010 [Issue 3858] New: mixin protection attribute is ignored | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Jerry Quinn <jlquinn@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: ------- |
March 13, 2010 [Issue 3858] mixin attribute is ignored | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | 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 | --- Comment #1 from Jerry Quinn <jlquinn@optonline.net> 2010-03-13 11:41:54 PST --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation