diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/javassist/compiler/TypeChecker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/compiler/TypeChecker.java b/src/main/javassist/compiler/TypeChecker.java index 602f6c02..5ddf4f76 100644 --- a/src/main/javassist/compiler/TypeChecker.java +++ b/src/main/javassist/compiler/TypeChecker.java @@ -669,7 +669,7 @@ public class TypeChecker extends Visitor implements Opcode, TokenId { if (oprand instanceof Expr) { Expr e = (Expr)oprand; if (e.getOperator() == ARRAY) { - atArrayRead(expr.oprand1(), expr.oprand2()); + atArrayRead(e.oprand1(), e.oprand2()); // arrayDim should be 0. int t = exprType; if (t == INT || t == BYTE || t == CHAR || t == SHORT) |