cd6c88fa2c
Previously, we used a pretty roundabout way to load a MemberScope from a single file facade represented by KPackageImpl, which involved going through ModuleDescriptor, PackageFragmentProvider, PackagePartProvider etc. The only advantage of this approach was that it sort of works similarly as in the compiler, however mutable state in RuntimePackagePartProvider and the fact that .kotlin_module files were required for this to work diminished this advantage. In this change, we load MemberScope from a KPackageImpl pretty much directly, by using the existing method `DeserializedDescriptorResolver.createKotlinPackagePartScope` and caching the result in the new component PackagePartScopeCache. #KT-30344 Fixed