Fix ConstantValue-related testData for loadJava tests
This commit is contained in:
+8
-6
@@ -5,27 +5,29 @@ class Test {
|
||||
|
||||
companion object {
|
||||
|
||||
public val prop1 : Int = 10
|
||||
public val prop1 : Int = { 10 }()
|
||||
|
||||
public var prop2 : Int = 11
|
||||
public var prop2 : Int = { 11 }()
|
||||
protected set
|
||||
|
||||
public val prop3: Int = 12
|
||||
public val prop3: Int = { 12 }()
|
||||
get() {
|
||||
return field
|
||||
}
|
||||
|
||||
var prop4 : Int = 13
|
||||
var prop4 : Int = { 13 }()
|
||||
|
||||
fun incProp4() {
|
||||
prop4++
|
||||
}
|
||||
|
||||
public var prop5 : Int = 14
|
||||
public var prop5 : Int = { 14 }()
|
||||
|
||||
public var prop7 : Int = 20
|
||||
public var prop7 : Int = { 20 }()
|
||||
set(i: Int) {
|
||||
field++
|
||||
}
|
||||
|
||||
public const val constProp8: Int = 80
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user