GreatSyntacticShift: Checker test data fixed

This commit is contained in:
Andrey Breslav
2011-12-21 11:24:04 +02:00
parent 46832aaa5d
commit 3808bff1ce
16 changed files with 119 additions and 119 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
fun foo1() : fun (Int) : Int = { (x: Int) => x }
fun foo1() : (Int) -> Int = { (x: Int) -> x }
fun foo() {
val h : fun (Int) : Int = foo1();
val h : (Int) -> Int = foo1();
h(1)
val m : fun (Int) : Int = {(a : Int) => 1}//foo1()
val m : (Int) -> Int = {(a : Int) -> 1}//foo1()
m(1)
}