Use Visibilities.isVisible with ReceiverValue.

This commit is contained in:
Stanislav Erokhin
2014-10-16 16:30:13 +04:00
parent f640f82ed0
commit f9afdf7540
18 changed files with 305 additions and 13 deletions
@@ -0,0 +1,20 @@
fun <T> getT(): T = null!!
class A<in I>(init: I) {
private val i: I
{
i = getT()
}
private var i2 = i
private val i3: I
private var i4 = getT<I>()
;{
i2 = getT()
i3 = init
i4 = i3
}
}