aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-12-26 15:24:21 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-12-26 15:24:21 +0000
commitba0a3e173968737f8683069775e491d3b8764a9d (patch)
treeb3e17025364b4aa17c787d06105c4e5d74b65f3c /src
parentdf567502f85f1490e238c47badaacc0c32152659 (diff)
downloadjavassist-ba0a3e173968737f8683069775e491d3b8764a9d.tar.gz
javassist-ba0a3e173968737f8683069775e491d3b8764a9d.zip
fixed a compiler bug.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@62 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src')
-rw-r--r--src/main/javassist/compiler/TypeChecker.java2
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)