LightClassTest: test corner cases related to inherited visiblity
EA-99155 #KT-16899 Fixed
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
||||
public interface PrivateInTrait {
|
||||
final class DefaultImpls {
|
||||
private static java.lang.String getNn(PrivateInTrait $this) { /* compiled code */ }
|
||||
|
||||
private static void setNn(PrivateInTrait $this, java.lang.String value) { /* compiled code */ }
|
||||
|
||||
private static java.lang.String getN(PrivateInTrait $this) { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
// PrivateInTrait
|
||||
|
||||
interface PrivateInTrait {
|
||||
private var nn: String
|
||||
get() = ""
|
||||
set(value) {}
|
||||
private val n: String?
|
||||
get() = ""
|
||||
private fun bar(a: String, b: String?): String?
|
||||
}
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
public interface TraitClassObjectField {
|
||||
TraitClassObjectField.Companion Companion;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
java.lang.String x = "";
|
||||
|
||||
static final class Companion {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public static final java.lang.String x = "";
|
||||
private static final java.lang.String y = "";
|
||||
|
||||
private final java.lang.String getY() { /* compiled code */ }
|
||||
|
||||
private Companion() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
// TraitClassObjectField
|
||||
|
||||
interface TraitClassObjectField {
|
||||
companion object {
|
||||
const val x: String? = ""
|
||||
private val y: String? = ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user