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

--- Comment #2 from Walter Bright <bugzi...@digitalmars.com> ---
Considerably simplified as:

file sss/aaa.d
```
void toLower() { }
```

file test.d
```
module sss.str;

void bar(){
    import sss.aaa;
}

void endsWith(alias pred)()
   if (is(typeof(pred('a'))))
{
}

void lastIndexOf()
{
    endsWith!((a) => sss.aaa.toLower())();
}
```

--

Reply via email to