Add bytecode listing test on private default setter
Also fix test data of the kotlinp test and remove the newly added test case in the obsolete PropertyGenTest #KT-20344 Fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
open class Test {
|
||||
var publicProperty: String = ""
|
||||
private set
|
||||
|
||||
protected var protectedProperty: String = ""
|
||||
private set
|
||||
|
||||
internal var internalProperty: String = ""
|
||||
private set
|
||||
|
||||
fun update(i: Int) {
|
||||
publicProperty = i.toString()
|
||||
protectedProperty = i.toString()
|
||||
internalProperty = i.toString()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
@kotlin.Metadata
|
||||
public class Test {
|
||||
private @org.jetbrains.annotations.NotNull field internalProperty: java.lang.String
|
||||
private @org.jetbrains.annotations.NotNull field protectedProperty: java.lang.String
|
||||
private @org.jetbrains.annotations.NotNull field publicProperty: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getInternalProperty$test_module(): java.lang.String
|
||||
protected final @org.jetbrains.annotations.NotNull method getProtectedProperty(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method getPublicProperty(): java.lang.String
|
||||
public final method update(p0: int): void
|
||||
}
|
||||
Reference in New Issue
Block a user