diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyGateRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyGateRawInliner.scala index 29fd7c03..95cafc4b 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyGateRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyGateRawInliner.scala @@ -151,7 +151,7 @@ object ApplyGateRawInliner extends RawInliner[ApplyGateRaw] with Logging { LiteralModel("\"math\"", ScalarType.string), "add", CallModel( - incrVar :: LiteralModel.fromRaw(LiteralRaw.number(1)) :: Nil, + v :: LiteralModel.fromRaw(LiteralRaw.number(1)) :: Nil, CallModel.Export(incrVar.name, incrVar.`type`) :: Nil ) ).leaf