This is a bug in the compiler, feel free to vote / watch it: https://youtrack.jetbrains.com/issue/KT-2780
More Related Contents:
- How to make clickable listview in android using kotlin
- What is the difference between var and val in Kotlin?
- What is a “receiver” in Kotlin?
- Single exclamation mark in Kotlin
- Kotlin and Immutable Collections?
- Kotlin’s Iterable and Sequence look exactly same. Why are two types required?
- What does the suspend function mean in a Kotlin Coroutine?
- How to check if a “lateinit” variable has been initialized?
- How to run Kotlin class from the command line?
- Kotlin static methods and variables
- serializable in desired format in kotlin
- What is the Kotlin double-bang (!!) operator?
- How to read a text file from resources in Kotlin?
- Example of when should we use run, let, apply, also and with on Kotlin
- How to convert String to Int in Kotlin?
- How can I suppress unchecked cast warnings?
- Web scraping with jsoup in Kotlin
- Why not use GlobalScope.launch?
- How to make “inappropriate blocking method call” appropriate?
- Swift ‘if let’ statement equivalent in Kotlin
- Coroutines: runBlocking vs coroutineScope
- How do I initialize Kotlin’s MutableList to empty MutableList?
- warning: Kotlin runtime JAR files in the classpath should have the same version
- Kotlin doesn’t see Java Lombok accessors?
- What’s the difference between !! and ? in Kotlin?
- How do I replace duplicate whitespaces in a String in Kotlin?
- Building a self-executable JAR with Gradle and Kotlin
- What does .() mean in Kotlin?
- Kotlin Ternary Conditional Operator
- Configure Kotlin extension for Gradle subprojects