Minor, refine return type of AbstractClassTypeConstructor.getDeclarationDescriptor
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ class SyntheticClassOrObjectDescriptor(
|
||||
override fun getParameters(): List<TypeParameterDescriptor> = emptyList()
|
||||
override fun isFinal(): Boolean = true
|
||||
override fun isDenotable(): Boolean = true
|
||||
override fun getDeclarationDescriptor(): ClassifierDescriptor = thisDescriptor
|
||||
override fun getDeclarationDescriptor(): ClassDescriptor = thisDescriptor
|
||||
override fun computeSupertypes(): Collection<KotlinType> = syntheticSupertypes
|
||||
override val supertypeLoopChecker: SupertypeLoopChecker = SupertypeLoopChecker.EMPTY
|
||||
}
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public ClassifierDescriptor getDeclarationDescriptor() {
|
||||
public ClassDescriptor getDeclarationDescriptor() {
|
||||
return LazyClassDescriptor.this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user