Introduce ResolutionScope::definitelyDoesNotContainName
Also add some obvious implementations This method might be used in resolution to filter out inapplicable scopes
This commit is contained in:
+1
@@ -106,6 +106,7 @@ class MetadataPackageFragment(
|
||||
containerSource = null, components = components, classNames = { emptyList() }
|
||||
) {
|
||||
override fun hasClass(name: Name): Boolean = hasTopLevelClass(name)
|
||||
override fun definitelyDoesNotContainName(name: Name) = false
|
||||
})
|
||||
|
||||
return ChainedMemberScope.create("Metadata scope", scopes)
|
||||
|
||||
Reference in New Issue
Block a user