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
+21
View File
@@ -0,0 +1,21 @@
object A {
val x : Int = 0
}
open class Foo {
fun foo() : Int = 1
}
fun test() {
A.x
val b = object : Foo {
}
b.foo()
object B {
fun foo() {}
}
B.foo()
}
val bb = <error>B</error>.foo()