type.getCanonic

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@915 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent eac60d7a40
commit 76e9f0091f
  1. 2
      jode/jode/expr/ConvertOperator.java
  2. 2
      jode/jode/expr/NewArrayOperator.java

@ -48,7 +48,7 @@ public class ConvertOperator extends Operator {
public void dumpExpression(TabbedPrintWriter writer) public void dumpExpression(TabbedPrintWriter writer)
throws java.io.IOException { throws java.io.IOException {
writer.print("("); writer.print("(");
writer.printType(type); writer.printType(type.getCanonic());
writer.print(") "); writer.print(") ");
subExpressions[0].dumpExpression(writer, 700); subExpressions[0].dumpExpression(writer, 700);
} }

@ -48,7 +48,7 @@ public class NewArrayOperator extends Operator {
public void dumpExpression(TabbedPrintWriter writer) public void dumpExpression(TabbedPrintWriter writer)
throws java.io.IOException { throws java.io.IOException {
Type flat = type; Type flat = type.getCanonic();
int depth = 0; int depth = 0;
while (flat instanceof ArrayType) { while (flat instanceof ArrayType) {
flat = ((ArrayType)flat).getElementType(); flat = ((ArrayType)flat).getElementType();

Loading…
Cancel
Save