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,4 +1,4 @@
internal fun foo(i: Int?) {
fun foo(i: Int?) {
var i1 = i!!
i1++
}
+1 -1
View File
@@ -1,4 +1,4 @@
internal fun foo(b: Byte) {
fun foo(b: Byte) {
var i: Int? = b.toInt()
if (p) i = 10
}
@@ -1,4 +1,4 @@
internal fun foo() {
fun foo() {
var i: Long = 1
if (p) i = 10
}
+1 -1
View File
@@ -1,4 +1,4 @@
internal fun foo() {
fun foo() {
var i: Int? = 1
if (p) i = null
}
@@ -1,3 +1,3 @@
internal fun foo() {
fun foo() {
val o = ""
}
@@ -1,4 +1,4 @@
internal fun foo() {
fun foo() {
var o: Any? = ""
if (p) o = null
}
@@ -1,5 +1,5 @@
internal class C {
internal fun foo(p: Boolean): Int {
fun foo(p: Boolean): Int {
var a: Int
var b: Int
a = 10