Kotlin to support package protected visibility

Couldn’t agree more.

I think internal has its best use cases for libraries, or large projects that are modularized. Package should cover projects that aren’t modularized. Would make life much easier.

While we’re at it, is there any way to implement file level visibility?

// file.kt

class Foo private constructor(i: Int) {}

class Bar {
  fun baz() = Foo(0)
}