Labeled this & super to nested class' outer is an error

#KT-1174 In Progress
This commit is contained in:
Alexander Udalov
2012-12-03 17:42:40 +04:00
parent 5d92453532
commit 43c37398af
17 changed files with 84 additions and 17 deletions
@@ -27,7 +27,7 @@ class A<E>() : C(), T {
<!DEBUG_INFO_MISSING_UNRESOLVED!>super<!><C><!UNRESOLVED_REFERENCE!>@B<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>bar<!>()
}
class B : T {
inner class B : T {
fun test() {
super<T>.foo();
super<<!NOT_A_SUPERTYPE!>C<!>>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>bar<!>()
@@ -1,5 +1,5 @@
class A(val a:Int) {
class B() {
inner class B() {
fun Char.xx() : Any {
this : Char
val <!UNUSED_VARIABLE!>a<!> = {
@@ -1,6 +1,6 @@
class A(val a:Int) {
class B() {
inner class B() {
val x = this@B : B
val y = this@A : A
val z = this : B