Repaired brain-dead bug where ESValue was checked for

instance of IPathElement instead of ESNode
This commit is contained in:
hns 2001-08-30 20:09:20 +00:00
parent e6cc8162d0
commit 244e7ba779

View file

@ -250,7 +250,8 @@ public class EcmaScriptEvaluateVisitor
// ESNode wrappers must be checked with equals() because
// it's possible that different wrappers wrap the same node!
if (v1 instanceof helma.framework.IPathElement) {
if (v1 instanceof helma.scripting.fesi.ESNode ||
v1 instanceof helma.scripting.fesi.ESGenericObject) {
return v1.equals (v2);
}
@ -1363,3 +1364,4 @@ public class EcmaScriptEvaluateVisitor
}