typo in function resolution

This commit is contained in:
jonathandturner 2016-03-02 11:17:53 -05:00
parent 54279fd75f
commit 3d0d3803fc

View File

@ -232,7 +232,7 @@ impl Engine {
let result1 = self.call_fn_1_arg("clone", arg1); let result1 = self.call_fn_1_arg("clone", arg1);
let result2 = self.call_fn_1_arg("clone", arg2); let result2 = self.call_fn_1_arg("clone", arg2);
let result3 = self.call_fn_1_arg("clone", arg3); let result3 = self.call_fn_1_arg("clone", arg3);
let result4 = self.call_fn_1_arg("clone", arg3); let result4 = self.call_fn_1_arg("clone", arg4);
match (result1, result2, result3, result4) { match (result1, result2, result3, result4) {
(Ok(r1), Ok(r2), Ok(r3), Ok(r4)) => { (Ok(r1), Ok(r2), Ok(r3), Ok(r4)) => {
new_scope.push((f.params[0].clone(), r1)); new_scope.push((f.params[0].clone(), r1));