Deprecate visibility of static members inherited from Java

Now they are not visible by short name through companion objects, just
like classifiers in KT-21515

^KT-25333 In progress
This commit is contained in:
Dmitry Savvinov
2018-07-06 13:23:10 +03:00
committed by Dmitry Savvinov
parent 63202fe560
commit 76c651421b
45 changed files with 1206 additions and 55 deletions
@@ -0,0 +1,13 @@
import Java.field;
import Java.method;
open class Base {
companion object : Java()
}
class Derived : Base() {
fun test() {
val x = field;
val y = method();
}
}