https://issues.dlang.org/show_bug.cgi?id=16037
--- Comment #1 from Sobirari Muhomori <[email protected]> --- workaround? T assumeScoped(T)(scope T t){ return t; } void testXXX () @nogc { Object o; scope bool delegate (Object) alwaysFalse = (Object y) { return false; }; scope c1 = o !is null ? assumeScoped((Object y) { return o is y; }) : alwaysFalse; } --
