Bug in properties fixed

This commit is contained in:
Andrey Breslav
2011-01-02 17:09:47 +03:00
parent 3f82192a7c
commit 45864d91d6
3 changed files with 49 additions and 5 deletions
+4 -1
View File
@@ -69,4 +69,7 @@ fun foo() {
val foo = 5
get() = 5
set(int : x) = 5
}
}
val IList<T>.lastIndex : Int
get() = this.size - 1