[FIR] Rename FirStatusOwner back to FirMemberDeclaration
This commit is contained in:
+2
-2
@@ -683,7 +683,7 @@ class FirElementSerializer private constructor(
|
||||
}
|
||||
is ConeTypeParameterType -> {
|
||||
val typeParameter = type.lookupTag.typeParameterSymbol.fir
|
||||
if (typeParameter in (containingDeclaration as? FirStatusOwner)?.typeParameters ?: emptyList()) {
|
||||
if (typeParameter in (containingDeclaration as? FirMemberDeclaration)?.typeParameters ?: emptyList()) {
|
||||
builder.typeParameterName = getSimpleNameIndex(typeParameter.name)
|
||||
} else {
|
||||
builder.typeParameter = getTypeParameterId(typeParameter)
|
||||
@@ -929,7 +929,7 @@ class FirElementSerializer private constructor(
|
||||
}
|
||||
|
||||
|
||||
private fun normalizeVisibility(declaration: FirStatusOwner): Visibility {
|
||||
private fun normalizeVisibility(declaration: FirMemberDeclaration): Visibility {
|
||||
return declaration.visibility.normalize()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user