Add some regression tests for obsolete issues

Regenerate tests
This commit is contained in:
Alexander Udalov
2013-01-17 17:38:46 +04:00
parent 3b43d5e874
commit 8dff523858
4 changed files with 36 additions and 2 deletions
@@ -0,0 +1,13 @@
// KT-2100
trait I {
val x : String
}
class Foo {
protected val x : String = ""
inner class Inner : I {
override val x : String = this@Foo.x
}
}
@@ -0,0 +1,11 @@
// KT-1188
trait Foo {
val b : Bar
val b1 : Foo.Bar
trait Bar {}
}
trait Foo2 : Foo {
val bb1 : Foo.Bar
}