split some tests in JetDiagnosticsTest

This commit is contained in:
Stepan Koltsov
2012-03-12 22:53:50 +04:00
parent 7a00e3a26a
commit 8be79b3f22
11 changed files with 132 additions and 118 deletions
@@ -0,0 +1,23 @@
package localObjects
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 = <!UNRESOLVED_REFERENCE!>B<!>.foo()