[FIR] Make FirDeclaration an abstract class
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ fun deserializeClassToSymbol(
|
||||
override fun compare(a: FirDeclaration<*>, b: FirDeclaration<*>): Int {
|
||||
// Reorder members based on their type and name only.
|
||||
// See FE 1.0's [DeserializedMemberScope#addMembers].
|
||||
if (a is FirMemberDeclaration<*> && b is FirMemberDeclaration<*>) {
|
||||
if (a is FirStatusOwner && b is FirStatusOwner) {
|
||||
return FirMemberDeclarationComparator.TypeAndNameComparator.compare(a, b)
|
||||
}
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user