[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:
committed by
Space Team
parent
6611a55a60
commit
12eb6d97bf
@@ -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>()"
|
||||
|
||||
Reference in New Issue
Block a user