Fix Delegates.lazy usages in testData

This commit is contained in:
Ilya Gorbunov
2015-11-03 23:18:58 +03:00
parent 70fdc379ef
commit 850c1518c8
4 changed files with 14 additions and 11 deletions
@@ -1,11 +1,10 @@
import kotlin.properties.Delegates
import java.util.HashMap
interface R {
fun result(): String
}
val a by Delegates.lazy {
val a by lazy {
with(HashMap<String, R>()) {
put("result", object : R {
override fun result(): String = "OK"