Fix NPE in ReferenceVariantsHelper

#KT-6500 Fixed
This commit is contained in:
Natalia Ukhorskaya
2014-12-22 14:06:35 +03:00
parent e35b960eb5
commit 8896aa93b4
3 changed files with 3 additions and 3 deletions
@@ -299,7 +299,7 @@ public class TypeUtils {
}
}
public static boolean canHaveSubtypes(JetTypeChecker typeChecker, JetType type) {
public static boolean canHaveSubtypes(JetTypeChecker typeChecker, @NotNull JetType type) {
if (type.isMarkedNullable()) {
return true;
}