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!?
--