[AA LC] Fix computation of const initializers of fields

This commit is contained in:
Dmitriy Novozhilov
2022-08-12 14:21:15 +03:00
parent 573b292cbc
commit c5916e1d1f
24 changed files with 199 additions and 42 deletions
@@ -9,9 +9,9 @@ public abstract interface IntfWithProp /* IntfWithProp*/ extends Intf {
}
public abstract class Base /* Base*/ {
private int y;
private int y = 1 /* initializer type: int */;
private int z;
private int z = 1 /* initializer type: int */;
@org.jetbrains.annotations.Nullable()
protected java.lang.Integer v();// v()
@@ -35,7 +35,7 @@ public abstract class Base /* Base*/ {
}
public final class Derived /* Derived*/ extends Base implements IntfWithProp {
private final int x;
private final int x = 3 /* initializer type: int */;
@java.lang.Override()
protected error.NonExistentClass v();// v()