Confusion between vals and funs fixed

This commit is contained in:
Andrey Breslav
2011-09-26 21:09:10 +04:00
parent 87b22e810f
commit fc243695f7
3 changed files with 54 additions and 35 deletions
@@ -0,0 +1,8 @@
class Foo1() : java.util.ArrayList<Int>()
open class Bar() {
fun v() : Int = 1
val v : Int = 1
}
class Barr() : Bar() {}