Renamed *.jet to *.kt in test data of JetPsiCheckerTest.

This commit is contained in:
Evgeny Gerashchenko
2012-11-12 19:23:29 +04:00
parent 8d7e79c806
commit 799a986812
73 changed files with 148 additions and 148 deletions
+28
View File
@@ -0,0 +1,28 @@
package toplevelObjectDeclarations
open class Foo(y : Int) {
open fun foo() : Int = 1
}
class T : <error>Foo</error> {}
object A : <error>Foo</error> {
val x : Int = 2
fun test() : Int {
return x + foo()
}
}
object B : <error>A</error> {}
val x = A.foo()
val y = object : Foo(x) {
{
x + 12
}
override fun foo() : Int = 1
}
val z = y.foo()