Bug fix for translation of 'in' expressions.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4382 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
msridhar1 2012-01-06 21:42:18 +00:00
parent e149af8a13
commit ec28aca253
1 changed files with 1 additions and 1 deletions

View File

@ -1550,7 +1550,7 @@ public class RhinoToAstTranslator {
case Token.IN: {
Node value = n.getFirstChild();
Node property = value.getNext();
return Ast.makeNode(CAstNode.IS_DEFINED_EXPR, walkNodes(value, context), walkNodes(property, context));
return Ast.makeNode(CAstNode.IS_DEFINED_EXPR, walkNodes(property, context), walkNodes(value, context));
}
default: {