JVM: remove most usages of JvmTarget.JVM_1_6
This commit is contained in:
committed by
Space Team
parent
75197d1b86
commit
fb900d2e2a
@@ -7,12 +7,9 @@ package org.jetbrains.kotlin.config
|
||||
|
||||
import org.jetbrains.kotlin.util.capitalizeDecapitalize.toLowerCaseAsciiOnly
|
||||
|
||||
enum class JvmClosureGenerationScheme(
|
||||
val description: String,
|
||||
val minJvmTarget: JvmTarget
|
||||
) {
|
||||
CLASS("class", JvmTarget.JVM_1_6),
|
||||
INDY("indy", JvmTarget.JVM_1_8),
|
||||
enum class JvmClosureGenerationScheme(val description: String) {
|
||||
CLASS("class"),
|
||||
INDY("indy"),
|
||||
;
|
||||
|
||||
companion object {
|
||||
@@ -22,4 +19,4 @@ enum class JvmClosureGenerationScheme(
|
||||
return values().find { it.description == lowerStr }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user