Fix exception when add import

#KT-30524 Fixed
This commit is contained in:
Dmitry Gridin
2019-03-20 22:59:10 +07:00
parent 3ce002dd6e
commit 403801b0b3
5 changed files with 37 additions and 1 deletions
@@ -236,7 +236,7 @@ public class Visibilities {
public static final Visibility LOCAL = new Visibility("local", false) {
@Override
public boolean mustCheckInImports() {
throw new IllegalStateException("This method shouldn't be invoked for LOCAL visibility");
return true;
}
@Override