[Issue 19727] std.algorithm.endsWith fails where startsWith succeeds

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 11:43:44 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19727

--- Comment #1 from Timoses <timosesu at gmail.com> ---
Workaround:
t.asRelativePath("/folder").to!string

As typeof(t.asRelativePath("/folder")) is ChooseResult!(ByCodeUnitImpl,
Result), it seems to cause the problem!?

--


More information about the Digitalmars-d-bugs mailing list