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:
Ilya Muradyan
2020-06-02 12:40:46 +03:00
committed by Ilya Chernikov
parent 262e21fcbc
commit b74692e96b
3 changed files with 38 additions and 0 deletions
@@ -46,6 +46,8 @@ interface MemberScope : ResolutionScope {
p.println("Empty member scope")
}
override fun definitelyDoesNotContainName(name: Name): Boolean = true
override fun getFunctionNames() = emptySet<Name>()
override fun getVariableNames() = emptySet<Name>()
override fun getClassifierNames() = emptySet<Name>()