Fix Issue 11939 - selective imports inside a scope(failure) block cause compiler segfault
Merge pull request #3206 from yebblies/issue11939

Issue 11939 - selective imports inside a scope(failure) block cause compiler segfault