Merge pull request #797 from tomdale/full-helper-names

Pass full helper ID to helperMissing when options are provided
This commit is contained in:
Kevin Decker
2014-05-19 21:59:20 -05:00
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ Compiler.prototype = {
throw new Exception("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);
} else {
this.ID(id);
this.opcode('invokeHelper', params.length, name, sexpr.isRoot);
this.opcode('invokeHelper', params.length, id.original, sexpr.isRoot);
}
},