Adjust testData to new labels syntax
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE
|
||||
|
||||
inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
|
||||
bar1 @label {
|
||||
bar1 label@ {
|
||||
this@label.length()
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
|
||||
// this@bar1.length
|
||||
//}
|
||||
|
||||
bar2 @l {
|
||||
bar2 l@ {
|
||||
11
|
||||
}
|
||||
|
||||
@@ -24,17 +24,17 @@ inline fun foo(bar1: (String.() -> Int) -> Int, bar2: (()->Int) -> Int) {
|
||||
}
|
||||
|
||||
inline fun foo2(bar1: (String.() -> Int) -> Int) {
|
||||
@l1 <!USAGE_IS_NOT_INLINABLE!>bar1<!>
|
||||
l1@ <!USAGE_IS_NOT_INLINABLE!>bar1<!>
|
||||
|
||||
@l2 bar1 {
|
||||
l2@ bar1 {
|
||||
11
|
||||
}
|
||||
|
||||
(@l3 bar1) {
|
||||
(l3@ bar1) {
|
||||
11
|
||||
}
|
||||
|
||||
(@l5 (@l4 bar1)) {
|
||||
(l5@ (l4@ bar1)) {
|
||||
11
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user