The following code: ``` void main () @safe { scope void delegate (void*) @safe s = (a) {}; scope void* ptr; s(ptr); } ``` Compiles correctly with `dmd test.d` and segfault when compiler with `dmd -dip1000 test.d`. I would expect compilation to fail as it attempts to pass a `scope void*` to a delegate accepting `void*`. Tested with 2.074 and master (v2.075.0-devel-f234dde37).
I get: test.d(5): Error: scope variable ptr assigned to non-scope parameter unnamed calling indirectly when I try it with the latest.