[Stdlib] Remove @InlineOnly from expect declarations of minOf(), maxOf()

to satisfy MPP annotation checker.
It has reporting because @InlineOnly is absent on declarations with
Long parameter (removed in 233376eef0).

^KT-58551
This commit is contained in:
Roman Efremov
2023-06-30 12:45:14 +02:00
committed by Space Team
parent 6611a55a60
commit 12eb6d97bf
2 changed files with 6 additions and 12 deletions
@@ -180,6 +180,9 @@ object ComparableOps : TemplateGroupBase() {
body { "return $defaultImpl" }
specialFor(Primitives) {
inlineOnly()
on(Platform.Common) {
inline()
}
var convertBack = "to$primitive()"
on(Platform.JS) {
convertBack = "unsafeCast<$primitive>()"
@@ -381,6 +384,9 @@ object ComparableOps : TemplateGroupBase() {
body { "return $defaultImpl" }
specialFor(Primitives) {
inlineOnly()
on(Platform.Common) {
inline()
}
var convertBack = "to$primitive()"
on(Platform.JS) {
convertBack = "unsafeCast<$primitive>()"