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:
parent
e149af8a13
commit
ec28aca253
2
com.ibm.wala.cast.js.rhino/source/org/mozilla/javascript/RhinoToAstTranslator.java
Normal file → Executable file
2
com.ibm.wala.cast.js.rhino/source/org/mozilla/javascript/RhinoToAstTranslator.java
Normal file → Executable 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: {
|
||||
|
|
Loading…
Reference in New Issue