FIR: add & use hasExplicitParameterList to anonymous functions

#KT-49134 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-10-15 16:26:37 +03:00
committed by teamcityserver
parent 9307757bb4
commit 29e4c299e7
20 changed files with 38 additions and 16 deletions
@@ -99,6 +99,7 @@ fun FirAnonymousFunction.copy(
this.receiverTypeRef = receiverTypeRef
symbol = this@copy.symbol
isLambda = this@copy.isLambda
hasExplicitParameterList = this@copy.hasExplicitParameterList
this.valueParameters.addAll(valueParameters)
this.body = body
this.annotations.addAll(annotations)