Provide location parameter in delegations

This commit is contained in:
Zalim Bashorov
2015-07-17 15:06:40 +03:00
parent 41449c107e
commit df4f43267b
10 changed files with 27 additions and 27 deletions
@@ -72,8 +72,8 @@ public class LazyPackageFragmentScopeForJavaPackage(
override fun getClassifier(name: Name, location: UsageLocation): ClassifierDescriptor? = classes(name)
override fun getProperties(name: Name, location: UsageLocation) = deserializedPackageScope().getProperties(name)
override fun getFunctions(name: Name, location: UsageLocation) = deserializedPackageScope().getFunctions(name) + super.getFunctions(name)
override fun getProperties(name: Name, location: UsageLocation) = deserializedPackageScope().getProperties(name, location)
override fun getFunctions(name: Name, location: UsageLocation) = deserializedPackageScope().getFunctions(name, location) + super.getFunctions(name, location)
override fun addExtraDescriptors(result: MutableSet<DeclarationDescriptor>,
kindFilter: DescriptorKindFilter,