Do not generate the field for unused parameters in suspend lambdas

This commit is contained in:
Iaroslav Postovalov
2020-12-09 22:43:06 +07:00
committed by Ilmir Usmanov
parent f49cf2d5ca
commit 6f34f00c61
6 changed files with 45 additions and 4 deletions
@@ -0,0 +1,5 @@
val f: suspend (Int) -> Unit = { unused ->
}
// 0 GETFIELD p\$0
// 0 PUTFIELD p\$0