kotlin
kotlin copied to clipboard
The Kotlin Programming Language.
RingBuffer extends from the non-mutable AbstractList, but defines its own `add` fun which doesn't return any value. For the JVM there will implicitly be a `fun add(T): boolean` added to...
This patch is based on #5033, #5035 and #5041. The commit for KotlinJsFactory and KotlinMetadataFactory is c6b2a60. * A few members from KotlinJvmFactory are moved to KotlinFactory The commit for...
https://youtrack.jetbrains.com/issue/KT-55505 When running KAPT in a multi-module project, it's awkward to specify separate processor statistics dump files for each sub-module. This PR makes it so that previous statistics dumps are...
Previously, `Kotlin2JsCompile.incremental` is configured from `propertiesProvider.incrementalJs`. Now, it is a seprate, configurable value. Incremental compilation is enabled only if ` incremental and (incrementalJs or incrementalJsKlib)` are enabled. https://youtrack.jetbrains.com/issue/KT-54986/KGP-API-to-toggle-incremental-compilation
https://youtrack.jetbrains.com/issue/KT-55259 - [ ] This usage of project in an `onlyIf {}` probably needs to be fixed too https://github.com/JetBrains/kotlin/blob/21fef703670d0378687ebc0268d91b2443f48825/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/internal/CInteropMetadataDependencyTransformationTask.kt#L104
to create a `KotlinJvmCompile` that handles Java only cases. `KotlinCompile` is skipped when there is no Kotlin sources. `KotlinCompileWithJava` runs when there are Kotlin or Java sources. KT-52147
Current Kotlin Native Objc Class name generation uses trailing underscores to name mangle classes with the same short name. This PR adds an additional compiler flag that switches to use...
Signed-off-by: kackey0-1 Works towards [KT-35867](https://youtrack.jetbrains.com/issue/KT-35867). Makes sample for CharSequences.all()
Currently subsequent build involving Kotlin2JsCompile task will lead to Gradle cache misse(s) because `klib` files are not recognized as zip files by Gradle, see below: This will be solved with...