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
+2 -2
View File
@@ -3,13 +3,13 @@
package foo
internal class A {
internal fun /* nothing to return */ foo(/* no parameters at all */) {
fun /* nothing to return */ foo(/* no parameters at all */) {
// let declare a variable
// with 2 comments before
val /*int*/ a /* it's a */ = 2 /* it's 2 */ + 1 /* it's 1 */ // variable a declared
} // end of foo
internal fun /* we return int*/ foo(/*int*/ p: Int/* parameter p */): Int {
fun /* we return int*/ foo(/*int*/ p: Int/* parameter p */): Int {
/* body is empty */
}