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:
+2
-2
@@ -3,8 +3,8 @@ package to
|
||||
import java.util.ArrayList
|
||||
|
||||
|
||||
class JavaClass {
|
||||
internal fun foo() {
|
||||
internal class JavaClass {
|
||||
fun foo() {
|
||||
val list = ArrayList<String>()
|
||||
list.add(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user