Remove erroneous suspend delegate tests (not supported in 1.3)

This commit is contained in:
Mikhail Glukhikh
2018-09-12 18:28:10 +03:00
parent 65ee837bfe
commit e24f68c357
3 changed files with 0 additions and 39 deletions
@@ -1,13 +0,0 @@
// PROBLEM: none
// WITH_RUNTIME
import kotlin.reflect.KProperty
<caret>suspend fun bar(): String {
val x: String by Delegate()
return x
}
class Delegate {
suspend operator fun getValue(thisRef: Any?, property: KProperty<*>): String = ""
}
@@ -1,16 +0,0 @@
// PROBLEM: none
// WITH_RUNTIME
import kotlin.reflect.KProperty
<caret>suspend fun bar(): String {
var x: String by Delegate()
x = "Hello"
return x
}
class Delegate {
operator fun getValue(thisRef: Any?, property: KProperty<*>): String = ""
suspend operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {}
}