Add packages kotlin.collections, kotlin.ranges, kotlin.sequences, and kotlin.text to default imports.

This commit is contained in:
Ilya Gorbunov
2015-11-02 02:58:21 +03:00
parent 65c5c99c68
commit 42565129ee
2 changed files with 9 additions and 1 deletions
@@ -43,11 +43,15 @@ public object JvmPlatform : TargetPlatform("JVM") {
override val platformConfigurator: PlatformConfigurator = JvmPlatformConfigurator
}
private val DEFAULT_IMPORTS_FOR_JVM = ArrayList<ImportPath>().apply {
private val DEFAULT_IMPORTS_FOR_JVM: List<ImportPath> = ArrayList<ImportPath>().apply {
add(ImportPath("java.lang.*"))
add(ImportPath("kotlin.*"))
add(ImportPath("kotlin.annotation.*"))
add(ImportPath("kotlin.jvm.*"))
add(ImportPath("kotlin.collections.*"))
add(ImportPath("kotlin.ranges.*"))
add(ImportPath("kotlin.sequences.*"))
add(ImportPath("kotlin.text.*"))
add(ImportPath("kotlin.io.*"))
fun addAllClassifiersFromScope(scope: MemberScope) {