aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/CastExpr.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/compiler/ast/CastExpr.java')
-rw-r--r--src/main/javassist/compiler/ast/CastExpr.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/javassist/compiler/ast/CastExpr.java b/src/main/javassist/compiler/ast/CastExpr.java
index 903e5bbd..d3938078 100644
--- a/src/main/javassist/compiler/ast/CastExpr.java
+++ b/src/main/javassist/compiler/ast/CastExpr.java
@@ -28,14 +28,14 @@ public class CastExpr extends ASTList implements TokenId {
protected int castType;
protected int arrayDim;
- public CastExpr(ASTList className, int dim, ASTree expr) {
- super(className, new ASTList(expr));
+ public CastExpr(ASTList className, int dim, ASTree expr, int lineNumber) {
+ super(className, new ASTList(expr, lineNumber), lineNumber);
castType = CLASS;
arrayDim = dim;
}
- public CastExpr(int type, int dim, ASTree expr) {
- super(null, new ASTList(expr));
+ public CastExpr(int type, int dim, ASTree expr, int lineNumber) {
+ super(null, new ASTList(expr, lineNumber), lineNumber);
castType = type;
arrayDim = dim;
}