[FE 1.0] Use 1.7.20 as default language version for java type enhancement
^KT-50478
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ class JavaTypeEnhancementStateParser(
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val DEFAULT = JavaTypeEnhancementStateParser(MessageCollector.NONE, KotlinVersion(1, 6, 20))
|
||||
private val DEFAULT = JavaTypeEnhancementStateParser(MessageCollector.NONE, KotlinVersion(1, 7, 20))
|
||||
private const val NULLABILITY_ANNOTATIONS_COMPILER_OPTION = "-Xnullability-annotations"
|
||||
|
||||
fun parsePlainNullabilityAnnotationReportLevels(nullabilityAnnotations: String): Pair<FqName, ReportLevel> =
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ fun getDefaultReportLevelForAnnotation(annotationFqName: FqName) =
|
||||
fun getReportLevelForAnnotation(
|
||||
annotation: FqName,
|
||||
configuredReportLevels: NullabilityAnnotationStates<ReportLevel>,
|
||||
configuredKotlinVersion: KotlinVersion = KotlinVersion(1, 6, 20)
|
||||
configuredKotlinVersion: KotlinVersion = KotlinVersion(1, 7, 20)
|
||||
): ReportLevel {
|
||||
configuredReportLevels[annotation]?.let { return it }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user