Skip to content

Commit a52d4f6

Browse files
committed
null для неуказанных параметров
1 parent b95fd3b commit a52d4f6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎src/ScriptEngine/Machine/MachineInstance.cs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -970,10 +970,7 @@ private void CallContext(IRuntimeContextInstance instance, int index, BslMethodI
970970
if (argCount < parCount)
971971
{
972972
Array.Resize(ref realArgs, parCount);
973-
while (--parCount >= argCount)
974-
{
975-
realArgs[parCount] = BslSkippedParameterValue.Instance;
976-
}
973+
// для неуказанных параметров останется null
977974
}
978975
}
979976

0 commit comments

Comments
 (0)