no infinite recursion on type error.

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@73 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent c9ed2748de
commit cc81c74ebd
  1. 3
      jode/jode/expr/ComplexExpression.java

@ -164,7 +164,8 @@ public class ComplexExpression extends Expression {
(subExpressions[i].getType()); (subExpressions[i].getType());
types[i] = types[i] =
types[i].intersection(operator.getOperandType(i)); types[i].intersection(operator.getOperandType(i));
if (!types[i].equals(operator.getOperandType(i))) { if (types[i] != Type.tError
&& !types[i].equals(operator.getOperandType(i))) {
if (Decompiler.isTypeDebugging) if (Decompiler.isTypeDebugging)
System.err.println("change in "+this+": " System.err.println("change in "+this+": "
+operator.getOperandType(i) +operator.getOperandType(i)

Loading…
Cancel
Save