[Issue 17299] [Reg 2.071] Compile failure only on -de
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Apr 11 02:05:53 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17299
--- Comment #2 from Walter Bright <bugzilla at 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())();
}
```
--
More information about the Digitalmars-d-bugs
mailing list