fix: wtf paramater passing on scope

Closes #3726
This commit is contained in:
Misko Hevery 2015-08-19 15:33:59 -07:00
parent bde6416b40
commit 9afcb00216
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ dynamic createScope(String signature, [flags]) {
return ([arg0, arg1]) { return ([arg0, arg1]) {
_arg2[0] = arg0; _arg2[0] = arg0;
_arg2[1] = arg1; _arg2[1] = arg1;
return jsScope.apply(_arg1); return jsScope.apply(_arg2);
}; };
default: default:
throw "Max 2 arguments are supported."; throw "Max 2 arguments are supported.";