Fixed test data for new lambda syntax
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
class A(val a:Int) {
|
||||
inner class B() {
|
||||
fun Char.xx() : Any {
|
||||
fun Char.xx() : Double.() -> Any {
|
||||
this : Char
|
||||
val <!UNUSED_VARIABLE!>a<!> = {
|
||||
Double.() ->
|
||||
val <!UNUSED_VARIABLE!>a<!>: Double.() -> Unit = {
|
||||
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<!> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>+<!> this@xx : Char}
|
||||
return (@a{Double.() -> this@a : Double + this@xx : Char})
|
||||
val <!UNUSED_VARIABLE!>b<!>: Double.() -> Unit = @a{ this@a : Double + this@xx : Char}
|
||||
val <!UNUSED_VARIABLE!>c<!> = @a{ -> <!NO_THIS!>this@a<!> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>+<!> this@xx : Char}
|
||||
return (@a{this@a : Double + this@xx : Char})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,6 @@ internal final class A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
internal final fun kotlin.Char.xx(): kotlin.Any
|
||||
internal final fun kotlin.Char.xx(): kotlin.Double.() -> kotlin.Any
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user