Skip to content

Commit 9f75811

Browse files
committed
uncomment subplugin options
1 parent f541220 commit 9f75811

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

gradle-plugin/src/main/kotlin/kotlinx/rpc/compilerPlugins.kt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

55
@file:Suppress("detekt.ClassNaming", "ClassName")
@@ -36,12 +36,11 @@ class CompilerPluginCli : KotlinCompilerPluginSupportPlugin by compilerPlugin({
3636
SubpluginOption("strict-stateFlow", strict.stateFlow.get().toCompilerArg()),
3737
SubpluginOption("strict-sharedFlow", strict.sharedFlow.get().toCompilerArg()),
3838
SubpluginOption("strict-nested-flow", strict.nestedFlow.get().toCompilerArg()),
39-
// WIP: https://youtrack.jetbrains.com/issue/KRPC-133
40-
// SubpluginOption("strict-stream-scope", strict.streamScopedFunctions.get().toCompilerArg()),
41-
// SubpluginOption(
42-
// "strict-suspending-server-streaming",
43-
// strict.suspendingServerStreaming.get().toCompilerArg()
44-
// ),
39+
SubpluginOption("strict-stream-scope", strict.streamScopedFunctions.get().toCompilerArg()),
40+
SubpluginOption(
41+
"strict-suspending-server-streaming",
42+
strict.suspendingServerStreaming.get().toCompilerArg()
43+
),
4544
SubpluginOption("strict-not-top-level-server-flow", strict.notTopLevelServerFlow.get().toCompilerArg()),
4645
SubpluginOption("strict-fields", strict.fields.get().toCompilerArg()),
4746
@OptIn(RpcDangerousApi::class)

0 commit comments

Comments
 (0)