Hello.
This leads to a compilation error:

import std.algorithm;
void main() {
    string foo = "foo";
    immutable string bar = "bar";
    auto f = foo.endsWith("o");
    auto b = bar.endsWith("r"); // ERROR cannot deduce template...
}

Same with startsWith. Is this related to issue #5134? or am I missing somthing?
Thanks
Nicolas

Reply via email to