void remove(scope bool delegate(ref int) dg) { int a; dg(a); } void remove(int value) { } void main() { remove((ref int val) => !!val); }
https://github.com/D-Programming-Language/dmd/pull/604
https://github.com/D-Programming-Language/dmd/commit/34bdd686d1cf949bf72dc46520da07d5ce6e06ed