fix tests in org.jetbrains.kotlin.checkers

This commit is contained in:
Michael Nedzelsky
2015-09-03 15:25:57 +03:00
parent a3f22939f1
commit bc5c9065d2
2821 changed files with 12932 additions and 12960 deletions
@@ -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()
}
@@ -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
}
@@ -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
}
@@ -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()
}