[Issue 5615] std.string.indexOf broken at compile time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 19 15:07:52 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5615
--- Comment #1 from Stephan Dilly <spam at extrawurst.org> 2011-02-19 15:05:15 PST ---
in dmd2.052 it says:
\src\phobos\std\string.d(578): Error: cast(const(char)*)balance cannot be
interpreted at compile time
main.d(6): Error: cannot evaluate indexOf("foobar","foo",cast(CaseSensitive)1)
at compile time
main.d(6): Error: static assert (indexOf("foobar","foo",cast(CaseSensitive)1)
== 0) is not evaluatable 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