Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » A bug of JSDT
A bug of JSDT [message #1739705] Thu, 04 August 2016 03:12
Eclipse UserFriend
[file]
org.eclipse.wst.jsdt.core.dom.ASTConverter.java

[source]
public Expression convert(org.eclipse.wst.jsdt.internal.compiler.ast.EqualExpression expression) {
...
switch ((expression.bits & org.eclipse.wst.jsdt.internal.compiler.ast.ASTNode.OperatorMASK) >> org.eclipse.wst.jsdt.internal.compiler.ast.ASTNode.OperatorSHIFT) {
case org.eclipse.wst.jsdt.internal.compiler.ast.OperatorIds.EQUAL_EQUAL :
infixExpression.setOperator(InfixExpression.Operator.EQUALS);
break;
case org.eclipse.wst.jsdt.internal.compiler.ast.OperatorIds.NOT_EQUAL :
infixExpression.setOperator(InfixExpression.Operator.NOT_EQUALS);
}
return infixExpression;
}

[bug]
It doesn't handle with EQUAL_EQUAL_EQUAL and NOT_EQUAL_EQUAL .
--------------------
case org.eclipse.wst.jsdt.internal.compiler.ast.OperatorIds.EQUAL_EQUAL_EQUAL :
infixExpression.setOperator(InfixExpression.Operator.EQUALS_EQUAL_EQUAL);
break;
case org.eclipse.wst.jsdt.internal.compiler.ast.OperatorIds.NOT_EQUAL_EQUAL :
infixExpression.setOperator(InfixExpression.Operator.NOT_EQUALS_EQUAL );
break;
Previous Topic: Neon errors/warnings from files not in a source tree
Next Topic:latest declared built
Goto Forum:
  


Current Time: Tue Jul 08 15:02:11 EDT 2025

Powered by FUDForum. Page generated in 0.06190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top