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
@@ -2,7 +2,7 @@ import java.io.ByteArrayInputStream
import java.io.IOException
class C {
internal fun foo() {
fun foo() {
try {
ByteArrayInputStream(ByteArray(10)).use { stream ->
// reading something