Fixed test data for new lambda syntax
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//KT-591 Unresolved label in valid code
|
||||
|
||||
fun test() {
|
||||
val <!UNUSED_VARIABLE!>a<!> = @a{(Int?).() ->
|
||||
val <!UNUSED_VARIABLE!>a<!>: (Int?).() -> Unit = @a{
|
||||
if (this != null) {
|
||||
val <!UNUSED_VARIABLE!>b<!> = {String.() ->
|
||||
val <!UNUSED_VARIABLE!>b<!>: String.() -> Unit = {
|
||||
<!DEBUG_INFO_SMARTCAST!>this@a<!>.times(5) // @a Unresolved
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user