[IR] Drop obsolete o.j.k.backend.common.serialization.signature.IdSignatureSerializer
It has been renamed to IdSignatureFactory. We have to keep IdSignatureSerializer as a typealias for a while to keep the source compatibility with the Compose compiler plugin.
This commit is contained in:
committed by
Space Team
parent
e63e4b17b7
commit
e8853fd40b
-15
@@ -188,21 +188,6 @@ class PublicIdSignatureComputer(val mangler: KotlinMangler.IrMangler) : IdSignat
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* `IdSignatureSerializer` has been renamed to [IdSignatureFactory]. The [IdSignatureSerializer] type alias is added here
|
||||
* in place of the original `IdSignatureSerializer` class to keep source compatibility with the Compose compiler plugin
|
||||
* (this is only needed for a short duration of time).
|
||||
*
|
||||
* The [Deprecated] annotation was commented out because it leads to compilation errors in Compose plugin due to the use of `-Werror`.
|
||||
*/
|
||||
//@Deprecated(
|
||||
// message = "IdSignatureSerializer has been renamed to IdSignatureFactory." +
|
||||
// " Need to maintain this type alias for a while to keep source compatibility with the Compose plugin.",
|
||||
// replaceWith = ReplaceWith("IdSignatureFactory")
|
||||
//)
|
||||
@Suppress("unused")
|
||||
typealias IdSignatureSerializer = IdSignatureFactory
|
||||
|
||||
class IdSignatureFactory(
|
||||
private val publicSignatureBuilder: PublicIdSignatureComputer,
|
||||
private val table: DeclarationTable,
|
||||
|
||||
Reference in New Issue
Block a user