[FIR] Add opt-in to replaceIsTrailingLambda

#KT-66553
This commit is contained in:
Kirill Rakhman
2024-03-13 09:44:21 +01:00
committed by Space Team
parent 1876c8a9ee
commit b74dcb77e3
11 changed files with 32 additions and 1 deletions
@@ -1515,6 +1515,8 @@ class LightTreeRawFirExpressionBuilder(
LABELED_EXPRESSION,
ANNOTATED_EXPRESSION,
-> container += getAsFirExpression<FirAnonymousFunctionExpression>(node).apply {
// TODO(KT-66553) remove and set in builder
@OptIn(RawFirApi::class)
replaceIsTrailingLambda(newIsTrailingLambda = true)
}
}