New J2K: Fix crash in fqName resolution

This commit is contained in:
Simon Ogorodnik
2018-05-30 21:23:48 +03:00
committed by Ilya Kirillov
parent 2c2bd9ab5a
commit caa4af07c1
@@ -41,7 +41,7 @@ class TypeMappingConversion(val context: ConversionContext) : RecursiveApplicabl
return importDirective.getChildOfType<KtDotQualifiedExpression>()
?.selectorExpression
?.let {
it.references.mapNotNull { it.resolve() }.first()
it.references.mapNotNull { it.resolve() }.firstOrNull()
}
}