FIR: Get rid of FirCallableSymbol::isFakeOverride and isIntersectionOverride
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ class AllOpenMemberGenerator(session: FirSession) : FirDeclarationGenerationExte
|
||||
returnTypeRef = annotatedDeclaration.returnTypeRef
|
||||
status = annotatedDeclaration.status
|
||||
name = Name.identifier("hello${propertyName.capitalize()}")
|
||||
symbol = FirNamedFunctionSymbol(CallableId(owner.classId, name), isFakeOverride = false)
|
||||
symbol = FirNamedFunctionSymbol(CallableId(owner.classId, name))
|
||||
}
|
||||
return listOf(GeneratedDeclaration(function, owner))
|
||||
}
|
||||
@@ -55,4 +55,4 @@ class AllOpenMemberGenerator(session: FirSession) : FirDeclarationGenerationExte
|
||||
|
||||
override val key: FirPluginKey
|
||||
get() = AllOpenPluginKey
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ class AllOpenNestedClassGenerator(session: FirSession) : FirDeclarationGeneratio
|
||||
Modality.FINAL
|
||||
)
|
||||
name = Name.identifier("hello")
|
||||
symbol = FirNamedFunctionSymbol(CallableId(classId, name), isFakeOverride = false)
|
||||
symbol = FirNamedFunctionSymbol(CallableId(classId, name))
|
||||
}
|
||||
return listOf(constructor, function)
|
||||
}
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ class AllOpenTopLevelDeclarationsGenerator(session: FirSession) : FirDeclaration
|
||||
Modality.FINAL
|
||||
)
|
||||
name = Name.identifier("hello")
|
||||
symbol = FirNamedFunctionSymbol(CallableId(klass.symbol.classId, name), isFakeOverride = false)
|
||||
symbol = FirNamedFunctionSymbol(CallableId(klass.symbol.classId, name))
|
||||
}
|
||||
return listOf(function)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user