hint propagating resolved via intersections

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@885 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent b1ec0b8e64
commit f2bb234c74
  1. 1
      jode/jode/expr/BinaryOperator.java

@ -63,7 +63,6 @@ public class BinaryOperator extends Operator {
Type rightType = Type.tSuperType(subExpressions[1].getType()); Type rightType = Type.tSuperType(subExpressions[1].getType());
subExpressions[0].setType(Type.tSubType(rightType)); subExpressions[0].setType(Type.tSubType(rightType));
subExpressions[1].setType(Type.tSubType(leftType)); subExpressions[1].setType(Type.tSubType(leftType));
/* propagate hints? XXX */
updateParentType(leftType.intersection(rightType)); updateParentType(leftType.intersection(rightType));
} }

Loading…
Cancel
Save