diff --git a/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala b/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala index a263cbb2..6ffae791 100644 --- a/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala @@ -340,7 +340,7 @@ object ArrowInliner extends Logging { _ <- Arrows[S].resolved(arrowsResolved) _ <- Exports[S].resolved(exportsResolved) - } yield fn.copy(body = tree, ret = ret, capturedValues = capturedValues.renamed) + } yield fn.copy(body = tree, ret = ret) private[inline] def callArrowRet[S: Exports: Arrows: Mangler]( arrow: FuncArrow,