File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
java/ql/test/library-tests/flexible-constructors Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11| FlexibleConstructors.java:31:7:31:11 | <Expr>; | 1 | <obinit> | Instance initializer call at index 1 |
2+ | FlexibleConstructors.java:89:5:89:5 | <Expr>; | 3 | <obinit> | Instance initializer call at index 3 |
Original file line number Diff line number Diff line change 119119| FlexibleConstructors.java:82:7:82:7 | G | 10 | var tmp = input != null ? input : "default"; |
120120| FlexibleConstructors.java:82:7:82:7 | G | 11 | var string = tmp + "_initialized"; |
121121| FlexibleConstructors.java:82:7:82:7 | G | 12 | super(); |
122- | FlexibleConstructors.java:82:7:82:7 | G | 13 | this.instance_val = string; |
123- | FlexibleConstructors.java:82:7:82:7 | G | 14 | } |
124- | FlexibleConstructors.java:82:7:82:7 | G | 15 | } |
122+ | FlexibleConstructors.java:82:7:82:7 | G | 13 | <obinit>(); |
123+ | FlexibleConstructors.java:82:7:82:7 | G | 14 | this.instance_val = string; |
124+ | FlexibleConstructors.java:82:7:82:7 | G | 15 | } |
125+ | FlexibleConstructors.java:82:7:82:7 | G | 16 | } |
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ FlexibleConstructors.java:
206206# 91| 0: [VarAccess] tmp
207207# 91| 1: [StringLiteral] "_initialized"
208208# 92| 2: [SuperConstructorInvocationStmt] super(...)
209- # 93| 3 : [ExprStmt] <Expr>;
209+ # 93| 4 : [ExprStmt] <Expr>;
210210# 93| 0: [AssignExpr] ...=...
211211# 93| 0: [VarAccess] this.instance_val
212212# 93| -1: [ThisAccess] this
You can’t perform that action at this time.
0 commit comments