Introduce Variable: Do not compare explicit receivers using ReceiverValue

#KT-5319 Fixed
This commit is contained in:
Alexey Sedunov
2014-06-25 13:56:33 +04:00
parent 1452ffec6d
commit cd44bc3fb0
10 changed files with 116 additions and 6 deletions
@@ -0,0 +1,10 @@
fun main(args: Array<String>) {
val myA = A()
val i = myA.prop
println(i)
println(i)
}
class A {
val prop = 1
}