Fix ConstantValue-related testData for lightClasses tests
TODO support custom language version settings for lightClasses tests
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
public final class A {
|
||||
private static final int c = 1;
|
||||
private static final int c;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.lang.String v;
|
||||
public static final int cc = 1;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String cv = "A";
|
||||
public static final pack.A INSTANCE;
|
||||
|
||||
public final int getC() { /* compiled code */ }
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
package pack
|
||||
|
||||
object A {
|
||||
val c = 1
|
||||
var v = "A"
|
||||
val c = { 1 }()
|
||||
var v = { "A" }()
|
||||
fun f() = 3
|
||||
|
||||
const val cc = 1
|
||||
const val cv = "A"
|
||||
}
|
||||
Reference in New Issue
Block a user