[FE 1.0] Fix containing KtFile check in PSICallResolver.kt
This commit is contained in:
@@ -409,7 +409,7 @@ class PSICallResolver(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun getNameForGivenImportAlias(name: Name): Name? =
|
override fun getNameForGivenImportAlias(name: Name): Name? =
|
||||||
context.call.callElement.containingKtFile.getNameForGivenImportAlias(name)
|
(context.call.callElement.containingFile as? KtFile)?.getNameForGivenImportAlias(name)
|
||||||
|
|
||||||
override fun interceptFunctionCandidates(
|
override fun interceptFunctionCandidates(
|
||||||
resolutionScope: ResolutionScope,
|
resolutionScope: ResolutionScope,
|
||||||
|
|||||||
Reference in New Issue
Block a user