NI: exclude not fixed type variables from types on which null checks should be generated
^KT-36371 Fixed
This commit is contained in:
@@ -103,7 +103,7 @@ object RuntimeAssertionsTypeChecker : AdditionalTypeChecker {
|
||||
expressionTypeWithSmartCast: KotlinType,
|
||||
c: ResolutionContext<*>
|
||||
) {
|
||||
if (TypeUtils.noExpectedType(c.expectedType)) return
|
||||
if (TypeUtils.noExpectedType(c.expectedType) || c.expectedType is StubType) return
|
||||
|
||||
val assertionInfo = RuntimeAssertionInfo.create(
|
||||
c.expectedType,
|
||||
|
||||
Reference in New Issue
Block a user