New J2K: do not allow field and method declarations to be internal

For internal members new names are generated,
So, references to them from Java will be broken
This commit is contained in:
Ilya Kirillov
2019-10-07 12:32:47 +03:00
parent b30537de0e
commit d0f0b9e355
85 changed files with 185 additions and 191 deletions
+1 -1
View File
@@ -1 +1 @@
internal abstract val noofGears: Int
abstract val noofGears: Int
+2 -2
View File
@@ -1,7 +1,7 @@
internal open class A {
internal open fun a() {}
open fun a() {}
}
internal class B : A() {
public override fun a() {}
override fun a() {}
}
+2 -2
View File
@@ -1,9 +1,9 @@
internal open class A {
internal open fun foo() {}
open fun foo() {}
}
internal open class B : A() {
public override fun foo() {}
override fun foo() {}
}
internal class C : B() {