commonMain.co.touchlab.skie.kir.irbuilder.impl.symboltable.UnsupportedProperty.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-linker-plugin-kgp_1.9.20 Show documentation
Show all versions of kotlin-compiler-linker-plugin-kgp_1.9.20 Show documentation
Kotlin compiler plugin that improves Swift interface of a Kotlin Multiplatform framework.
The newest version!
package co.touchlab.skie.kir.irbuilder.impl.symboltable
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
fun unsupported() = object : ReadWriteProperty {
override fun getValue(thisRef: Any, property: KProperty<*>): T {
throw UnsupportedOperationException()
}
override fun setValue(thisRef: Any, property: KProperty<*>, value: T) {
throw UnsupportedOperationException()
}
}