digitalmars.D.bugs - [Issue 7486] New: dmd 2.057 lose const qualifier with ref
- d-bugmail puremagic.com (30/30) Feb 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7486
- d-bugmail puremagic.com (12/12) Feb 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7486
- d-bugmail puremagic.com (11/11) Feb 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7486
http://d.puremagic.com/issues/show_bug.cgi?id=7486 Summary: dmd 2.057 lose const qualifier with ref Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: deadalnix gmail.com --- Comment #0 from deadalnix <deadalnix gmail.com> 2012-02-12 07:30:56 PST --- Sample code (this compile). module dsfml.graphics.view; struct Fail { void foobar() const { cppFoobar(this); } } void cppFoobar(ref Fail fail) {} void main() { Fail f; f.foobar(); } This program should trigger an error because of constness issue. It doesn't . tested with dmd 2.057 and gdc (4.7 - 2.057) as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7486 timon.gehr gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |timon.gehr gmx.ch Resolution| |WORKSFORME --- Comment #1 from timon.gehr gmx.ch 2012-02-12 08:02:07 PST --- Fixed in DMD 2.058head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7486 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Resolution|WORKSFORME |DUPLICATE --- Comment #2 from yebblies <yebblies gmail.com> 2012-02-13 04:17:10 EST --- *** This issue has been marked as a duplicate of issue 5493 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2012