digitalmars.D.bugs - [Issue 7422] New: Regression(master): ICE with template function and if statement
- d-bugmail puremagic.com (35/35) Feb 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7422
- d-bugmail puremagic.com (9/9) Feb 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7422
- d-bugmail puremagic.com (10/10) Feb 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7422
http://d.puremagic.com/issues/show_bug.cgi?id=7422 Summary: Regression(master): ICE with template function and if statement Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: robert octarineparrot.com --- Comment #0 from Robert Clipsham <robert octarineparrot.com> 2012-02-01 22:55:31 GMT --- The following: ---- struct Logger { static void info()() { } } void view() { if (Logger.info) { } } ---- ICEs with git master dc7916071b60739dcc8c09e43ff3da5218b42ff2, giving the following error: dmd: statement.c:2520: virtual Statement* IfStatement::semantic(Scope*): Assertion `condition->type' failed. Aborted On linux x86_32. Note this still occurs if you make this into a valid test case by overloading the info() method with one that returns bool. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 01 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7422 --- Comment #1 from github-bugzilla puremagic.com 2012-02-06 00:16:15 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a4906de97388b62aa7e7ed842e369826d36fbb9c fix Issue 7422 - Regression(master): ICE with template function and if statement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7422 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2012