migrated most of the test cases over to the new -> syntax for functions; still can't compile or run the tests yet though :(, needs more work...
This commit is contained in:
@@ -190,10 +190,10 @@ val <T> List<T>.tail : T?
|
||||
get() {
|
||||
val s = this.size
|
||||
return if (s > 0) this.get(s - 1) else null
|
||||
|
||||
}
|
||||
|
||||
val <T> List<T>.last : T?
|
||||
get() = this.tail
|
||||
get() = this.tail
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user