May 15, 2010 [Issue 4192] New: Certain CTF can't be evaluated anymore | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Aziz Köksal <aziz.koeksal@gmail.com> 2010-05-15 09:16:43 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: ------- |
June 07, 2010 [Issue 4192] Regression (1.061, D1 only): Certain CTFs can't be evaluated anymore | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aziz Köksal | http://d.puremagic.com/issues/show_bug.cgi?id=4192 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-06-07 04:42:01 PDT --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation