diff --git a/kotlin-mui-system/src/jsMain/generated/mui/system/ResponsiveStyleValue.kt b/kotlin-mui-system/src/jsMain/generated/mui/system/ResponsiveStyleValue.kt index bbece4e7cd6d3..aa4813a9e69dc 100644 --- a/kotlin-mui-system/src/jsMain/generated/mui/system/ResponsiveStyleValue.kt +++ b/kotlin-mui-system/src/jsMain/generated/mui/system/ResponsiveStyleValue.kt @@ -7,7 +7,6 @@ import js.reflect.unsafeCast external interface ResponsiveStyleValue -@Suppress("NOTHING_TO_INLINE") inline fun responsive( value: T, ): ResponsiveStyleValue = diff --git a/kotlin-node/src/jsMain/kotlin/node/util/types/isMap.contract.kt b/kotlin-node/src/jsMain/kotlin/node/util/types/isMap.contract.kt index 5d45bd2c53172..587962d1980b8 100644 --- a/kotlin-node/src/jsMain/kotlin/node/util/types/isMap.contract.kt +++ b/kotlin-node/src/jsMain/kotlin/node/util/types/isMap.contract.kt @@ -3,7 +3,6 @@ package node.util.types import js.collections.JsMap import kotlin.contracts.contract -@Suppress("NOTHING_TO_INLINE") inline fun isMap(target: Any?): Boolean { contract { returns(true) implies (target is JsMap<*, *>) diff --git a/kotlin-node/src/jsMain/kotlin/node/util/types/isSet.contract.kt b/kotlin-node/src/jsMain/kotlin/node/util/types/isSet.contract.kt index 164e750b3975e..d1e5a1f4f8838 100644 --- a/kotlin-node/src/jsMain/kotlin/node/util/types/isSet.contract.kt +++ b/kotlin-node/src/jsMain/kotlin/node/util/types/isSet.contract.kt @@ -3,7 +3,6 @@ package node.util.types import js.collections.JsSet import kotlin.contracts.contract -@Suppress("NOTHING_TO_INLINE") inline fun isSet(target: Any?): Boolean { contract { returns(true) implies (target is JsSet<*>) diff --git a/kotlin-remix-run-router/karakum/injections/BooleanFunctionInjection.js b/kotlin-remix-run-router/karakum/injections/BooleanFunctionInjection.js index 6414ffc52738b..238c1a8f614c6 100644 --- a/kotlin-remix-run-router/karakum/injections/BooleanFunctionInjection.js +++ b/kotlin-remix-run-router/karakum/injections/BooleanFunctionInjection.js @@ -97,7 +97,6 @@ export default { const returnType = render(actionFunctionSignatureNode.type) return ` -@Suppress("NOTHING_TO_INLINE") inline fun ${karakum.ifPresent(typeParameters, it => `<${it}>`)} ActionFunction( noinline value: (${parameters}) -> ${returnType}, ): ActionFunction${karakum.ifPresent(typeParameterNames, it => `<${it}>`)} = @@ -125,7 +124,6 @@ inline fun ${karakum.ifPresent(typeParameters, it => `<${it}>`)} ActionFunction( const returnType = render(loaderFunctionSignatureNode.type) return ` -@Suppress("NOTHING_TO_INLINE") inline fun ${karakum.ifPresent(typeParameters, it => `<${it}>`)} LoaderFunction( noinline value: (${parameters}) -> ${returnType}, ): LoaderFunction${karakum.ifPresent(typeParameterNames, it => `<${it}>`)} = diff --git a/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/ActionFunction.ext.kt b/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/ActionFunction.ext.kt index 38f0cf0e23cd4..99077faf756cb 100644 --- a/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/ActionFunction.ext.kt +++ b/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/ActionFunction.ext.kt @@ -3,7 +3,6 @@ package remix.run.router -@Suppress("NOTHING_TO_INLINE") inline fun ActionFunction( noinline value: (args: ActionFunctionArgs, handlerCtx: Any? /* use undefined for default */) -> DataFunctionReturnValue, ): ActionFunction = diff --git a/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/LoaderFunction.ext.kt b/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/LoaderFunction.ext.kt index e07d72ed6c165..5350e416f1d7d 100644 --- a/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/LoaderFunction.ext.kt +++ b/kotlin-remix-run-router/src/jsMain/generated/remix/run/router/LoaderFunction.ext.kt @@ -3,7 +3,6 @@ package remix.run.router -@Suppress("NOTHING_TO_INLINE") inline fun LoaderFunction( noinline value: (args: LoaderFunctionArgs, handlerCtx: Any? /* use undefined for default */) -> DataFunctionReturnValue, ): LoaderFunction = diff --git a/kotlin-styled-next/src/jsMain/kotlin/styled/GlobalStyles.kt b/kotlin-styled-next/src/jsMain/kotlin/styled/GlobalStyles.kt index 2a56d87780c86..8f062f274ba6f 100644 --- a/kotlin-styled-next/src/jsMain/kotlin/styled/GlobalStyles.kt +++ b/kotlin-styled-next/src/jsMain/kotlin/styled/GlobalStyles.kt @@ -32,7 +32,6 @@ fun injectGlobal(css: RuleSet) { }.apply { injectGlobal(this) } } -@Suppress("NOTHING_TO_INLINE") internal inline fun isDevelopment() = js("process.env.NODE_ENV !== 'production'") as Boolean object GlobalStyles { diff --git a/kotlin-styled-next/src/jsMain/kotlin/styled/StyledComponents.kt b/kotlin-styled-next/src/jsMain/kotlin/styled/StyledComponents.kt index bb0985329d442..52c0f26cf4862 100644 --- a/kotlin-styled-next/src/jsMain/kotlin/styled/StyledComponents.kt +++ b/kotlin-styled-next/src/jsMain/kotlin/styled/StyledComponents.kt @@ -97,7 +97,6 @@ inline fun CustomStyledProps.css(noinline handler: RuleSet) { css = (css ?: CssBuilder(isHolder = true)).apply(handler) } -@Suppress("NOTHING_TO_INLINE") inline fun

RElementBuilder

.css(noinline handler: RuleSet) = attrs.css(handler) internal external interface StyledProps : PropsWithClassName, PropsWithRef {