digitalmars.D.bugs - [Issue 4192] New: Certain CTF can't be evaluated anymore
- d-bugmail puremagic.com (30/30) May 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4192
- d-bugmail puremagic.com (12/12) Jun 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4192
http://d.puremagic.com/issues/show_bug.cgi?id=4192 Summary: Certain CTF can't be evaluated anymore Product: D Version: 1.057 Platform: Other OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: aziz.koeksal gmail.com PDT --- This bug actually concerns version 1.061 (bugzilla's list is not up-to-date). Managed to prepare a small test case: class A { static uint actf(char[] s) { return s.length; } static assert(actf("abcd") == 4); pragma(msg, actf("abcd") == 4); } The static assert will trigger an error. If you comment out the pragma statement, it will compile. The pragma is not really meaningful and doesn't appear in my code, but I couldn't find another way to trigger the bug. If this is fixed, I believe my code will work, too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4192 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE Fixed in svn commit 498. *** This issue has been marked as a duplicate of issue 4210 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 07 2010