kotlin
kotlin copied to clipboard
The Kotlin Programming Language.
beging -> beginning
This PR adds samples for the `Result` functions. Issue: https://youtrack.jetbrains.com/issue/KT-20357
This is a shorter version of sorting elements in descending order. It is a pretty common task to sort elements in descending order by multiple fields. For example: building a...
Using `Intrinsics.stringPlus` for string concatenation causes performance regressions in HotSpot. 1. It requires boxing for primitive types. 2. It affects string concatenation optimizations in HotSpot. In fact, it's questionable whether...
The diff tool extracts data about the differences in diagnostics tests for FE1.0 vs FIR. The goal is not to get a 100% match, but it shows gaps in the...
Adding zipAll function to address https://youtrack.jetbrains.com/issue/KT-13017 Code, docs, and samples are written to be constant with existing zip function below. https://github.com/JetBrains/kotlin/blob/f62ffeaa0ae46a5c9df248d6ef18ded75840026d/libraries/stdlib/common/src/generated/_Collections.kt#L3254-L3270
fixes KT-17882 Sorry, I couldn't found the best way to implement tests so can you help me or can you add tests for this? I've tested that - dumped IR...
Addresses [KT-35867](https://youtrack.jetbrains.com/issue/KT-35867) for the `elementAt()` function.
This will allow compiler plugins to have access to the unwrapped MessageCollector during plugin registration phase.