Michael Friend
04/18/2025, 5:51 PMcontext(...){ }
scoping function to provide multiple values to the implicit context for calling functions with context params. Is this planned for a future release or has the implementation and plans just diverged from the original KEEP?antonarhipov
04/19/2025, 11:58 AMMargarita Bobova
05/01/2025, 12:19 PMTatiana Bogdanova [JetBrains]
05/02/2025, 8:50 AMJames Yox
05/05/2025, 11:30 PMcontext(...)
functions in the standard library the Intellij does not seem to recognize items being brought into context. However, if I write my own version of context(...)
in the same module it works just fine.
Also worth noting that this compiles just fine despite the IDE errors. Is this expected behavior at this point in the release cycle? I'm just eager to start refactoring some of my personal projects to use context parameters!hfhbd
05/12/2025, 7:13 PMLockedCameraCapture
is not found (because it requires iOS 18). https://scans.gradle.com/s/kewpe5fwir3ra Is this expected?Margarita Bobova
05/13/2025, 3:00 PMTatiana Bogdanova [JetBrains]
05/16/2025, 11:34 AMkevin.chiu
06/02/2025, 5:18 AMallWarningsAsErrors
so it becomes a problem if we cannot suppress this particular warning 😬
w: Experimental context receivers are superseded by context parameters.
Replace the '-Xcontext-receivers' compiler argument with '-Xcontext-parameters' and migrate to the new syntax.
I tried with this but doesn't seem working
freeCompilerArgs.add("-Xwarning-level=CONTEXT_RECEIVERS_DEPRECATED:disabled")
Dmitry Stakhov
06/02/2025, 8:16 AMKirill Rakhman
06/03/2025, 7:12 AMStanislav Ruban
06/03/2025, 10:35 AMTatiana Bogdanova [JetBrains]
06/04/2025, 2:14 PMTatiana Bogdanova [JetBrains]
06/23/2025, 3:07 PMTatiana Bogdanova [JetBrains]
07/10/2025, 2:32 PMBernd Prünster
07/11/2025, 7:31 AMbalakrishnan
07/15/2025, 5:12 AMbalakrishnan
07/15/2025, 5:18 AMbalakrishnan
07/15/2025, 5:18 AMMargarita Bobova
07/18/2025, 12:36 PMNatalia Mishina
07/21/2025, 1:35 PMmaxmello
07/25/2025, 2:20 PMcontext receivers
in production code / in larger projects already migrated to context parameters
? It is already more robust than context receivers? When I added context receivers to my code, there were many problems with byte code errors, e.g. when I combined context(…)
with lots of other keywords (suspend
, inline
etc.). I worked around those cases. Now I’m unsure if I should already try to migrate to context parameters or wait until Kotlin 2.3.Tatiana Bogdanova [JetBrains]
07/29/2025, 2:04 PMJohn O'Reilly
07/31/2025, 7:24 PMembedSwiftExportForXcode
.
Showing All Messages
> Task :shared:linkSwiftExportBinaryDebugStaticIosSimulatorArm64
e: Compilation failed: Global 'ktypew:kotlin.collections.List' already exists
Robert Jaros
08/09/2025, 1:10 PMMargarita Bobova
08/19/2025, 11:57 AMRobert Jaros
08/31/2025, 7:46 AM<https://youtrack.jetbrains.com/issue/KT-76842>
the project root is added to the static directories served by webpack dev server. While I understand the motivation I'm not sure anyone tried working with a real JS or wasmJS project after this change. Any change to the kotlin sources makes webpack reload the application before the compilation/build is finished. In fact we can see more subsequent reloads, while other files in the project are modified by the compiler and bundler. And very often we end up with a syntax error, when the browser tries to load a broken, unfinished js file. In my opinion this change is a serious mistake. @Ilya Goncharov [JB] @bashorMargarita Bobova
09/01/2025, 4:00 PMSunil Kumar
09/19/2025, 7:32 AMcompilerOptions {
freeCompilerArgs.add("-Xdata-flow-based-exhaustiveness")
}
But still not able to test data-flow-based-exhaustiveness, it still shows same old error: Add remaining branches
Similarly for adding language version as 2.3.0 in compilerOptions, that also does not apply:
compilerOptions {
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_3)
}
How i can test them?