GreatSyntacticShift: Resolve test data fixed

This commit is contained in:
Andrey Breslav
2011-12-21 11:08:31 +02:00
parent 4d644f1f0b
commit 46832aaa5d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ namespace qualified_this {
~xx~val Int.xx = `xx`this : Int
~xx()~fun Int.xx() {
`xx()`this : Int
val a = {Int.() => `xx()`this`xx()`@xx + this}
val a = {Int.() -> `xx()`this`xx()`@xx + this}
}
}
@@ -1,3 +1,3 @@
fun invoker(~gen~gen : fun () : Int) : Int {
fun invoker(~gen~gen : () -> Int) : Int {
return `gen`gen() // Says it cannot resolve 'gen' here
}