Tests for diagnostics on this and super are moved and broken into smaller parts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class A(val a:Int) {
|
||||
class B() {
|
||||
fun Char.xx() : Any {
|
||||
this : Char
|
||||
val <!UNUSED_VARIABLE!>a<!> = {
|
||||
Double.() ->
|
||||
this : Double
|
||||
this@xx : Char
|
||||
this@B : B
|
||||
this@A : A
|
||||
}
|
||||
val <!UNUSED_VARIABLE!>b<!> = @a{Double.() -> this@a : Double + this@xx : Char}
|
||||
val <!UNUSED_VARIABLE!>c<!> = @a{() -> <!NO_THIS!>this@a<!> + this@xx : Char}
|
||||
return (@a{Double.() -> this@a : Double + this@xx : Char})
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user