fix tests in org.jetbrains.kotlin.checkers
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ public inline fun test() {
|
||||
<!INVISIBLE_MEMBER_FROM_INLINE!>Z<!>().<!INVISIBLE_MEMBER_FROM_INLINE!>publicFun<!>()
|
||||
}
|
||||
|
||||
inline fun testInternal() {
|
||||
internal inline fun testInternal() {
|
||||
Z().publicProperty
|
||||
Z().publicFun()
|
||||
}
|
||||
|
||||
+1
-1
@@ -21,6 +21,6 @@ private final class Z2 {
|
||||
private final fun privateFun(): kotlin.Unit
|
||||
public final fun publicFun(): kotlin.Unit
|
||||
kotlin.inline() public final fun test(): kotlin.Unit
|
||||
kotlin.inline() internal final fun testInternal(): kotlin.Unit
|
||||
kotlin.inline() public final fun testInternal(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ private final class Z2 {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
kotlin.inline() public final fun test(): kotlin.Unit
|
||||
kotlin.inline() internal final fun testInternal(): kotlin.Unit
|
||||
kotlin.inline() public final fun testInternal(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
private val privateProperty = 11;
|
||||
private fun privateFun() {}
|
||||
|
||||
val internalProperty = 11;
|
||||
fun internalFun() {}
|
||||
internal val internalProperty = 11;
|
||||
internal fun internalFun() {}
|
||||
|
||||
public inline fun test() {
|
||||
<!INVISIBLE_MEMBER_FROM_INLINE!>privateFun<!>()
|
||||
@@ -16,12 +16,12 @@ public inline fun test2() {
|
||||
<!INVISIBLE_MEMBER_FROM_INLINE!>internalProperty<!>
|
||||
}
|
||||
|
||||
inline fun testInternal() {
|
||||
internal inline fun testInternal() {
|
||||
privateFun()
|
||||
privateProperty
|
||||
}
|
||||
|
||||
inline fun test2Internal() {
|
||||
internal inline fun test2Internal() {
|
||||
internalFun()
|
||||
internalProperty
|
||||
}
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE
|
||||
public class Z {
|
||||
val privateProperty = 11;
|
||||
internal val privateProperty = 11;
|
||||
|
||||
fun privateFun() {
|
||||
internal fun privateFun() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ public inline fun test() {
|
||||
Z().<!INVISIBLE_MEMBER_FROM_INLINE!>privateFun<!>()
|
||||
}
|
||||
|
||||
inline fun testInternal() {
|
||||
internal inline fun testInternal() {
|
||||
Z().privateProperty
|
||||
Z().privateFun()
|
||||
}
|
||||
@@ -30,7 +30,7 @@ public class Z2 {
|
||||
<!INVISIBLE_MEMBER_FROM_INLINE!>privateFun<!>()
|
||||
}
|
||||
|
||||
inline fun testInternal() {
|
||||
internal inline fun testInternal() {
|
||||
privateProperty
|
||||
privateFun()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user