Supertypes are always not null

This commit is contained in:
Andrey Breslav
2013-10-30 14:22:39 +04:00
parent 111b11113d
commit 1eb38febf2
@@ -239,7 +239,7 @@ class LazyJavaTypeResolver(
if (isConstructorTypeParameter()) if (isConstructorTypeParameter())
getConstructorTypeParameterSubstitute().isNullable() getConstructorTypeParameterSubstitute().isNullable()
else else
attr.howThisTypeIsUsed !in setOf(TYPE_ARGUMENT, UPPER_BOUND, SUPERTYPE_ARGUMENT) attr.howThisTypeIsUsed !in setOf(TYPE_ARGUMENT, UPPER_BOUND, SUPERTYPE_ARGUMENT, SUPERTYPE)
} }
else -> true else -> true
} }