natario1
09/25/2022, 11:05 AMmarcinmoskala
12/08/2022, 8:54 AMmarcinmoskala
12/08/2022, 8:54 AMmarcinmoskala
12/28/2022, 9:54 AMKlitos Kyriacou
01/12/2023, 9:15 AMelse
clause to the statement. However, this works only if you use when
as an expression (using the result) and not as a statement".
Can you explain the last sentence in more detail? I don't see any difference in the need (or otherwise) to add an else
clause depending on whether the when
block is used as an expression or a statement. Is this left over from an earlier version of Kotlin?antonis
02/07/2023, 4:58 PMPiotr Krzemiński
04/05/2023, 12:44 PMBence Erős
05/21/2023, 8:09 AMPiotr Krzemiński
07/24/2023, 12:25 PMPiotr Krzemiński
08/07/2023, 12:08 PMPiotr Krzemiński
08/30/2023, 7:02 PMlouiscad
11/02/2023, 12:59 AMSystemClock.elapsedRealtimeNanos()
with a simple bridge! https://kotlinlang.org/docs/whatsnew1920.html#documentation-updatesChris Fillmore
11/02/2023, 12:03 PMmarcinmoskala
01/09/2024, 10:44 AMPiotr Krzemiński
02/20/2024, 10:35 AMlouiscad
02/28/2024, 4:24 PM/jvm
in all the Kotlin reference URLs.
It becomes quite funky when you land on symbols that are not even JVM compatible:
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.concurrent/-atomic-int/Klitos Kyriacou
06/12/2024, 12:59 PMKlitos Kyriacou
08/22/2024, 8:36 AMAny()
- in fact the extension name should be getOrDefault
. The revamped website shows it correctly.Tamás Fábián
10/09/2024, 10:47 AMPiotr Krzemiński
10/18/2024, 10:40 AMPiotr Krzemiński
11/04/2024, 12:17 PMMichal Klimczak
11/04/2024, 6:57 PMPackage.swift
for our local package? Does it require any special reference for the embeded framework?
3. How is that supposed to work anyway, i.e. how running embedAndSign on the app module would make it importable on the local spm package and indirectly importable on the project?
4. import Shared
? Usually it's import shared
?
5. What's so special about Kotlin 2.x that it's needed for that to work?
There seems to be some magic involved, however this magic doesn't work for me unfortunately 😞 Any hints?Sergei Kozelko
11/06/2024, 3:46 AMLocale.setDefault
fails in playground with java.security.AccessControlException: Access control exception due to security reasons in web playground
. Is this on purpose?Olaf Gottschalk
11/06/2024, 8:00 AMSecurityManager
, but this component has been deprecated and will be discontinued. What are your plans, what are the tools you are going to use in the future to protect your system from untrusted code being sent to the compiler server? Thanks!Klitos Kyriacou
12/23/2024, 10:01 AMcomponent10
can appear after component9
(instead of between component1
and component2
) on pages like the documentation for Destructured?sigmadelta
12/27/2024, 7:00 PMWASM
in Kotlin Multiplatform as well?
If so, I have a little question. I currently made a website using the WASM export and it works for all clients, except for iOS below 18.2
. This is related to the fact that they only introduced support for WASM
GC with their recent os update.
To bypass this there is the option of exporting the whole project in JS, but I would prefer to stay in WASM
. Is there somehow an option to detect the browser of the user doesn't support WASM
GC and redirect him to a different index.html with an explanation or something?Alina Dolgikh [JB]
solonovamax
03/04/2025, 8:30 PMv5
as being the default for -target
when compiling kotlin/js.
however, the only accepted values are es5
and es2015
, and the gradle plugin lists the default as being es5
. (in multiple places, see: KotlinJsCompilerOptions
, K2JSCompilerArguments
, etc.)
also, in several places the "Possible values" and "Default value" columns seem to be incorrect with the new compilerOptions
DSL.Oleg Nenashev
03/25/2025, 1:11 PMlouiscad
05/09/2025, 11:34 PM