AA: indicate whether a value parameter is an implicit lambda parameter

^KTIJ-18800 In progress
This commit is contained in:
Jinseong Jeon
2022-04-18 14:12:13 -07:00
committed by Ilya Kirillov
parent a74a51b2d9
commit 889db4cc5d
35 changed files with 208 additions and 33 deletions
@@ -0,0 +1,9 @@
// DO_NOT_CHECK_SYMBOL_RESTORE
inline fun <T, R> T.use(block: (T) -> R): R {
return block(this)
}
fun foo() {
42.use { i<caret>t.toString() }
}