New J2K: consider that type argument may be null in inference post-processing
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ abstract class ContextCollector(private val resolutionFacade: ResolutionFacade)
|
||||
is KtClassOrObject -> {
|
||||
for (entry in expression.superTypeListEntries) {
|
||||
for (argument in entry.typeReference?.typeElement?.typeArgumentsAsTypes ?: continue) {
|
||||
argument.toBoundType(OtherTarget)
|
||||
argument?.toBoundType(OtherTarget)
|
||||
}
|
||||
}
|
||||
val descriptor =
|
||||
|
||||
Reference in New Issue
Block a user