Skip to content

Commit 5763d56

Browse files
committed
Тесты зеленые
1 parent 514d0bf commit 5763d56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/OneScript.Native/Compiler/MethodCompiler.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,11 @@ private List<Expression> PrepareCallArguments(BslSyntaxNode argList, ParameterIn
14071407
{
14081408
var factArguments = new List<Expression>();
14091409

1410+
if (injectsProcess)
1411+
{
1412+
factArguments.Add(_processParameter);
1413+
}
1414+
14101415
var parameters = argList.Children.Select(passedArg =>
14111416
passedArg.Children.Count > 0
14121417
? ConvertToExpressionTree(passedArg.Children[0])

0 commit comments

Comments
 (0)