Arjan van Wieringen
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class).all { kotlinOptions.freeCompilerArgs = listOf("-Xcontext-receivers") }
context(Node.BuilderScope) fun foo() { // nothing here yet }
java.lang.IllegalStateException: FULL: FUN name:foo visibility:public modality:FINAL <> (<this>:nl.avwie.vdom.Node.BuilderScope) returnType:kotlin.Unit Ir: nl.avwie.vdom#foo(nl.avwie.vdom.Node.BuilderScope){} Descriptor: nl.avwie.vdom#foo!nl.avwie.vdom.Node.BuilderScope(){} at org.jetbrains.kotlin.backend.common.serialization.mangle.ManglerChecker$visitDeclaration$2.invoke(ManglerChecker.kt:96) at org.jetbrains.kotlin.backend.common.serialization.mangle.ManglerChecker$visitDeclaration$2.invoke(ManglerChecker.kt:95)
A modern programming language that makes developers happier.