New J2K: Fix crash in fqName resolution
This commit is contained in:
committed by
Ilya Kirillov
parent
2c2bd9ab5a
commit
caa4af07c1
@@ -41,7 +41,7 @@ class TypeMappingConversion(val context: ConversionContext) : RecursiveApplicabl
|
|||||||
return importDirective.getChildOfType<KtDotQualifiedExpression>()
|
return importDirective.getChildOfType<KtDotQualifiedExpression>()
|
||||||
?.selectorExpression
|
?.selectorExpression
|
||||||
?.let {
|
?.let {
|
||||||
it.references.mapNotNull { it.resolve() }.first()
|
it.references.mapNotNull { it.resolve() }.firstOrNull()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user