Do not generate fields for unused suspend lambda parameters
This also allows us to not spill them in the lambda. But, disable this optimization for local named functions. #KT-16222 In progress
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
public fun invokeCoroutineBuilder() {
|
||||
return buildCoroutine {
|
||||
println(this)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user