Fixing bug 286251: removal of double call to initFunction which was spotted by Gilles Barnier <gilles.barnier@veritas.com>.

git-svn-id: svn://10.0.0.236/trunk@170711 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
igor%mir2.org 2005-03-15 17:13:02 +00:00
parent 868e1efd5b
commit 64d15fabc6

View File

@ -549,7 +549,6 @@ public class Parser
Node pn = nf.initFunction(fnNode, functionIndex, body, syntheticType);
if (memberExprNode != null) {
pn = nf.initFunction(fnNode, functionIndex, body, syntheticType);
pn = nf.createAssignment(Token.ASSIGN, memberExprNode, pn);
if (functionType != FunctionNode.FUNCTION_EXPRESSION) {
// XXX check JScript behavior: should it be createExprStatement?