J2K: do not produce redundant "internal" words for members in an internal class

This commit is contained in:
Valentin Kipyatkov
2015-09-16 21:50:01 +03:00
parent 367b32c309
commit 0cc2158ec1
260 changed files with 459 additions and 448 deletions
+1 -1
View File
@@ -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)