Migrate testdata to new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-04-03 13:40:07 +03:00
parent b703f59e04
commit 3de0dff575
134 changed files with 263 additions and 277 deletions
@@ -7,7 +7,7 @@ class A(val value: Int) : Comparable<A> {
class B(val value: Int)
fun testExtensionFunctionAsCompareTo() {
val compareTo: B.( B ) -> Int = { (other) -> other.value compareTo this.value }
val compareTo: B.( B ) -> Int = { other -> other.value compareTo this.value }
val x: B = B(100)
val y: B = B(200)