Annotator test data fixed

This commit is contained in:
Andrey Breslav
2011-12-27 14:54:41 +04:00
parent 0ddd926a4b
commit 2d78ccb9e1
19 changed files with 182 additions and 242 deletions
@@ -0,0 +1,16 @@
class A(val a:Int) {
class B() {
val x = this@B : B
val y = this@A : A
val z = this : B
val Int.xx = this : Int
fun Char.xx() : Any {
this : Char
val <warning>a</warning> = {Double.() -> this : Double + this@xx : Char}
val <warning>b</warning> = @a{Double.() -> this@a : Double + this@xx : Char}
val <warning>c</warning> = @a{() -> <error>this@a</error> + this@xx : Char}
return (@a{Double.() -> this@a : Double + this@xx : Char})
}
}
}