[Issue 6268] New: [2.054 Beta Regression] std.string.strip no longer CTFE-able
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 7 17:27:41 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6268
Summary: [2.054 Beta Regression] std.string.strip no longer
CTFE-able
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: cbkbbejeap at mailinator.com
--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2011-07-07 17:22:36 PDT ---
// test.d:
import std.string;
enum str = strip("");
2.053:
> dmd -c test.d
{works}
2.054:
> dmd -c test.d
D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\string.d(1468):
Error:
_aApplycd2 cannot be interpreted at compile time, because it has no available
s
ource code
D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\string.d(1521):
Error:
cannot evaluate stripLeft(s) at compile time
D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\string.d(1521):
Error:
cannot evaluate stripRight(stripLeft(s)) at compile time
testCtfeStrip.d(2): Error: cannot evaluate strip("") at compile time
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list