unaryPlus

operator fun SimpleAfterHook.unaryPlus()
operator fun AfterHook.unaryPlus()


@JvmName(name = "unaryPlusAny?")
operator fun ResolvedFullDataAfterHook<out Any?>.unaryPlus()

Deprecated (with error)

Incorrect type T used

Replace with

Correct type T for the after hook

If we can't resolve to the type for the resolved after hook, then it's the incorrect type. If we remove this method, then the error is simply that + is not found. Leaving it in with the added deprecation notice leads to a more usable experience as the developer is informed that they got wrong