[Review] ContactList: deprecate ContactList<*>.idContentString

This commit is contained in:
Him188 2021-01-08 11:24:13 +08:00
parent 3f3ba48b24
commit 8abbfbe4c5

View File

@ -44,5 +44,11 @@ internal constructor(@JvmField @MiraiInternalApi public val delegate: Concurrent
* [123456, 321654, 123654]
* ```
*/
@Deprecated(
"deprecated.",
ReplaceWith("\"[\" + delegate.joinToString { it.id.toString() } + \"]\""),
DeprecationLevel.ERROR
)
@PlannedRemoval("2.0.0")
public val ContactList<*>.idContentString: String
get() = "[" + delegate.joinToString { it.id.toString() } + "]"