Converted JetScope to Kotlin

This commit is contained in:
Valentin Kipyatkov
2014-10-28 12:09:57 +03:00
parent c26c8f0a84
commit c2a3fde969
21 changed files with 98 additions and 123 deletions
@@ -85,9 +85,9 @@ public class LazyPackageFragmentScopeForJavaPackage(
private val deserializedPackageScope = c.storageManager.createLazyValue {
val kotlinBinaryClass = kotlinBinaryClass
if (kotlinBinaryClass == null)
JetScope.EMPTY
JetScope.Empty
else
c.deserializedDescriptorResolver.createKotlinPackageScope(packageFragment, kotlinBinaryClass) ?: JetScope.EMPTY
c.deserializedDescriptorResolver.createKotlinPackageScope(packageFragment, kotlinBinaryClass) ?: JetScope.Empty
}
private val classes = c.storageManager.createMemoizedFunctionWithNullableValues<Name, ClassDescriptor> {