Add feature that allows references to synthetic properties with warning

See KT-35933 for details
This commit is contained in:
Mikhail Zarechenskiy
2020-01-15 19:37:55 +03:00
parent 595362b99f
commit 588259a034
13 changed files with 98 additions and 4 deletions
@@ -148,6 +148,7 @@ enum class LanguageFeature(
NewDataFlowForTryExpressions(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
FunctionReferenceWithDefaultValueAsOtherType(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
NonStrictOnlyInputTypesChecks(KOTLIN_1_4),
ReferencesToSyntheticJavaProperties(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
// ------
// Next features can be enabled regardless of new inference