digitalmars.D.bugs - [Issue 7174] New: Cannot use property function call as static if condition
- d-bugmail puremagic.com (22/22) Dec 27 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7174
- d-bugmail puremagic.com (11/11) Jan 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7174
- d-bugmail puremagic.com (11/11) Jul 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7174
- d-bugmail puremagic.com (12/12) Oct 07 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7174
- d-bugmail puremagic.com (10/10) Oct 07 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7174
http://d.puremagic.com/issues/show_bug.cgi?id=7174 Summary: Cannot use property function call as static if condition Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: timon.gehr gmx.ch Tested with DMD 2.057: property bool foo(){return true;} static if(foo){} Error: expression foo is not constant or does not evaluate to a bool The code should compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 27 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7174 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, rejects-valid Platform|Other |All https://github.com/D-Programming-Language/dmd/pull/599 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7174 Jonathan M Davis <jmdavisProg gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg gmx.com PDT --- Still in dmd 2.060HEAD (though, since the pull request hasn't been merged, that's not exactly surprising). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7174 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |FIXED https://github.com/D-Programming-Language/dmd/commit/f4ec500d57e53dde1fe5ce6091dec52ae649b044 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 07 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7174 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blooh_ hotmail.com *** Issue 8767 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 07 2012