Make internal: don't suggest in interface

#KT-35346 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-12-09 18:40:19 +09:00
committed by klunnii
parent 6e8565917e
commit 4144adf4ee
8 changed files with 50 additions and 4 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
interface KotlinInterface {
object O {
@JvmField
<caret>val bar = Any()
}
}
@@ -0,0 +1,7 @@
// WITH_RUNTIME
interface KotlinInterface {
object O {
@JvmField
internal val bar = Any()
}
}
@@ -0,0 +1,4 @@
// IS_APPLICABLE: false
interface A {
<caret>fun foo(name: String)
}
@@ -0,0 +1,5 @@
interface KotlinInterface {
companion object {
<caret>val bar = Any()
}
}
@@ -0,0 +1,5 @@
interface KotlinInterface {
companion object {
internal val bar = Any()
}
}