KJS: move println to kotlin.io; import kotlin.io by default in Default platform
This commit is contained in:
@@ -29,7 +29,6 @@ object JvmPlatform : TargetPlatform("JVM") {
|
||||
|
||||
add(ImportPath("java.lang.*"))
|
||||
add(ImportPath("kotlin.jvm.*"))
|
||||
add(ImportPath("kotlin.io.*"))
|
||||
|
||||
fun addAllClassifiersFromScope(scope: MemberScope) {
|
||||
for (descriptor in scope.getContributedDescriptors(DescriptorKindFilter.CLASSIFIERS, MemberScope.ALL_NAME_FILTER)) {
|
||||
|
||||
@@ -45,6 +45,7 @@ abstract class TargetPlatform(val platformName: String) {
|
||||
add(ImportPath("kotlin.ranges.*"))
|
||||
add(ImportPath("kotlin.sequences.*"))
|
||||
add(ImportPath("kotlin.text.*"))
|
||||
add(ImportPath("kotlin.io.*"))
|
||||
}
|
||||
|
||||
override val platformConfigurator =
|
||||
|
||||
Reference in New Issue
Block a user