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,16 +1,16 @@
// !forceNotNullTypes: false
// !specifyLocalVariableTypeByDefault: true
internal class Library {
internal fun call() {
fun call() {
}
internal fun getString(): String? {
fun getString(): String? {
return ""
}
}
internal class User {
internal fun main() {
fun main() {
val lib: Library = Library()
lib.call()
lib.getString()!!.isEmpty()