Add missing definitelyDoesNotContainName methods
Some implementations of definitelyDoesNotContainName method were missing that led to performance problems during symbols resolution using TowerResolver. Relates to KT-39139.
This commit is contained in:
committed by
Ilya Chernikov
parent
262e21fcbc
commit
b74692e96b
@@ -90,4 +90,7 @@ class LexicalChainedScope @JvmOverloads constructor(
|
||||
p.println("}")
|
||||
}
|
||||
|
||||
override fun definitelyDoesNotContainName(name: Name): Boolean {
|
||||
return memberScopes.all { it.definitelyDoesNotContainName(name) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user