mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] KotlinUFunctionCallExpression: fix NPE
^FL-18314 ^KTIJ-24673 GitOrigin-RevId: 1c0a9240731f80882d9d3b1327e517535c89963c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9fccc1d35c
commit
20867425db
+1
@@ -207,6 +207,7 @@ class KotlinUFunctionCallExpression(
|
||||
override fun isMethodNameOneOf(names: Collection<String>): Boolean {
|
||||
if (methodNameCanBeOneOf(names)) {
|
||||
// canMethodNameBeOneOf can return false-positive results, additional resolve is needed
|
||||
val methodName = methodName ?: return false
|
||||
return methodName in names
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user