kotlinp: use JVM_IR backend for compiling tests
Also, test optimized delegated properties.
This commit is contained in:
@@ -8,5 +8,7 @@ class C(val constructorParam: String = "") {
|
||||
|
||||
val <T : Number> T.delegated: List<Nothing> by null
|
||||
|
||||
val withOptimizedDelegate by C::getterOnlyVal
|
||||
|
||||
operator fun Nothing?.getValue(x: Any?, y: Any?) = emptyList<Nothing>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user