Report warning (1.2) or error (1.3) on local annotations

#KT-23277 Fixed
 #KT-23589 Fixed
This commit is contained in:
Alexander Udalov
2018-04-04 12:49:50 +02:00
parent c141fac94a
commit 89af94be95
10 changed files with 87 additions and 4 deletions
@@ -68,14 +68,14 @@ enum class LanguageFeature(
InlineClasses(KOTLIN_1_3),
ProhibitVisibilityOfNestedClassifiersFromSupertypesOfCompanion(KOTLIN_1_3),
ProhibitNonConstValuesAsVarargsInAnnotations(KOTLIN_1_3),
StrictJavaNullabilityAssertions(sinceVersion = null, defaultState = State.DISABLED),
ProperIeee754Comparisons(sinceVersion = null, defaultState = State.DISABLED),
ReadDeserializedContracts(KOTLIN_1_3),
UseReturnsEffect(KOTLIN_1_3),
UseCallsInPlaceEffect(KOTLIN_1_3),
AllowContractsForCustomFunctions(KOTLIN_1_3),
ProhibitLocalAnnotations(KOTLIN_1_3),
StrictJavaNullabilityAssertions(sinceVersion = null, defaultState = State.DISABLED),
ProperIeee754Comparisons(sinceVersion = null, defaultState = State.DISABLED),
// Experimental features