On Jul 8, 11 00:43, KennyTM~ wrote:
No, I think it's a bug in pure-inference.

pure int h() {
     return 1;
}
int f(alias g)() {
     return g();
}
pure int i() {
     return f!h();  // pure function 'i' cannot call impure function 'f'
}

http://d.puremagic.com/issues/show_bug.cgi?id=6265

Reply via email to