Anyone got a clue what might be wrong with my setu...
# getting-started
a
Anyone got a clue what might be wrong with my setup, that I get the following error for this minimal code:
fun main() {
val (a, b) = Pair(1, "x")
}
Cannot access '<http://kotlin.io|kotlin.io>.Serializable' which is a supertype of 'kotlin.Pair'. Check your module classpath for missing or conflicting dependencies
I am using Kotlin 1.4.32 and Java 11. Thanks a lot.
Turns out, I was missing the stdlib in the dependencies section:
Copy code
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.4.32")
Doh.
rubber duck 1