Promote collection builders to stable #KT-47421
This commit is contained in:
committed by
Space
parent
72ab6d5e7e
commit
261d0c2783
+1
-1
@@ -7,7 +7,7 @@ interface FirFunctionCall : FirBase
|
||||
fun foo(statements: List<FirBase>, arguments: List<FirBase>, explicitReceiver: FirBase): List<FirFunctionCall> {
|
||||
|
||||
val firstCalls = with(statements.last() as FirFunctionCall) setCall@{
|
||||
<!OPT_IN_USAGE_ERROR!>buildList<!> {
|
||||
buildList {
|
||||
add(this@setCall)
|
||||
with(arguments.last() as FirFunctionCall) plusCall@{
|
||||
add(this@plusCall)
|
||||
|
||||
Reference in New Issue
Block a user