Fixed test data for new lambda syntax
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
val y = this@A : A
|
||||
val z = this : B
|
||||
val Int.xx : Int get() = this : Int
|
||||
fun Char.xx() : Any {
|
||||
fun Char.xx() : Double.() -> Unit {
|
||||
this : Char
|
||||
val <warning>a</warning> = {Double.() -> this : Double + this@xx : Char}
|
||||
val <warning>b</warning> = @a{Double.() -> this@a : Double + this@xx : Char}
|
||||
val <warning>c</warning> = @a{() -> <error>this@a</error> <error>+</error> this@xx : Char}
|
||||
return (@a{Double.() -> this@a : Double + this@xx : Char})
|
||||
val <warning>a</warning>: Double.() -> Unit = { this : Double + this@xx : Char}
|
||||
val <warning>b</warning>: Double.() -> Unit = @a{this@a : Double + this@xx : Char}
|
||||
val <warning>c</warning> = @a{<error>this@a</error> <error>+</error> this@xx : Char}
|
||||
return (@a{this@a : Double + this@xx : Char})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user