J2K: do not produce redundant "internal" words for members in an internal class
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import java.io.File
|
||||
|
||||
internal fun foo(file: File): List<String> {
|
||||
fun foo(file: File): List<String> {
|
||||
return emptyList()
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
internal fun foo(p: Dependency): Double {
|
||||
fun foo(p: Dependency): Double {
|
||||
return p.getInt().toDouble() // explicit conversion to Double must be added on conversion (if type Dependency) is correctly resolved
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
class A {
|
||||
|
||||
|
||||
internal fun foo() {
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
internal fun bar() {
|
||||
fun bar() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package to
|
||||
|
||||
internal fun foo(p: Int)
|
||||
fun foo(p: Int)
|
||||
Reference in New Issue
Block a user