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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user