Egor Andreevich
Egor Andreevich
This feature has been promoted to Stable in 1.7.0 ([announcement](https://kotlinlang.org/docs/whatsnew17.html#stable-definitely-non-nullable-types), [KEEP](https://github.com/Kotlin/KEEP/blob/c72601cf35c1e95a541bb4b230edb474a6d1d1a8/proposals/definitely-non-nullable-types.md)). Example: ```kotlin fun elvisLike(x: T, y: T & Any): T & Any = x ?: y fun main() {...
Currently we wrap based on the number of parameters, not on the length: ```kotlin val file = FileSpec.builder(tacosPackage, "Taco") .addFunction(FunSpec.builder("test") .addParameter("a", Int::class) .addParameter("b", Int::class) .addParameter("c", Int::class) .addStatement("return a + b...
- [x] Switch to Gradle (Maven not supported yet) - [ ] Create a common module and a platform module for JVM
In addition to the APIs, it would be great to have a fluent DSL for defining Kotlin files.
That's the first part of #157. Next step is to move all factory methods relying on Java reflection classes and transform them into extension functions on companions. The "jvm" package...
This feature proposal stems from #924, where in case if a type cannot be imported due to a simple name clash, generating a reference to that type's constructor would produce...
https://kotlinlang.org/docs/reference/lambdas.html#anonymous-functions
Fixes #274
Closes #474
Since Contour is using experimental features (inline classes), it should be either propagating the warnings through annotations or Gradle flags (see [Experimental API markers](https://kotlinlang.org/docs/reference/experimental.html)), or introducing its own experimental annotation...