dfa: values of primitive types have unknown nullability

This commit is contained in:
peter
2015-11-17 17:19:42 +01:00
parent fa8b4c2185
commit da043869c3
@@ -66,7 +66,7 @@ public class DfaPsiUtil {
@NotNull
public static Nullness getElementNullability(@Nullable PsiType resultType, @Nullable PsiModifierListOwner owner) {
if (owner == null) {
if (owner == null || resultType instanceof PsiPrimitiveType) {
return Nullness.UNKNOWN;
}