Adjust testData to new labels syntax
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package c
|
||||
|
||||
fun test() {
|
||||
with (1) @l {
|
||||
with (1) l@ {
|
||||
foo(1, <!NAMED_PARAMETER_NOT_FOUND!>zz<!> = { this@l } )
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ fun test(bar: Bar, a: A) {
|
||||
// no elements with error types
|
||||
fooInt((bar()))
|
||||
fooInt(if (true) bar() else bar())
|
||||
fooInt(@label bar())
|
||||
fooInt(label@ bar())
|
||||
fooInt(a.bar())
|
||||
fooInt(((@label if (true) (a.bar()) else bar())))
|
||||
fooInt(((label@ if (true) (a.bar()) else bar())))
|
||||
}
|
||||
Reference in New Issue
Block a user