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,9 +1,9 @@
internal class C {
internal fun getString(b: Boolean): String? {
fun getString(b: Boolean): String? {
return if (b) "a" else null
}
internal fun foo(): Int {
fun foo(): Int {
return getString(true)!!.length()
}
}