Fix applicability of dsl-marker on function type

When marker is applied to function type it should work
like it's applied to receiver type

 #KT-23255 Fixed
This commit is contained in:
Denis Zharkov
2018-08-10 18:10:18 +07:00
parent 99fe6de52a
commit 117abb04aa
12 changed files with 259 additions and 11 deletions
@@ -86,6 +86,7 @@ enum class LanguageFeature(
StrictJavaNullabilityAssertions(KOTLIN_1_3, kind = BUG_FIX),
SoundSmartcastForEnumEntries(KOTLIN_1_3, kind = BUG_FIX),
SoundSmartcastFromLoopConditionForLoopAssignedVariables(KOTLIN_1_3, kind = BUG_FIX),
DslMarkerOnFunctionTypeReceiver(KOTLIN_1_4, kind = BUG_FIX),
RestrictReturnStatementTarget(KOTLIN_1_4, kind = BUG_FIX),
ProperIeee754Comparisons(sinceVersion = null, defaultState = State.DISABLED, kind = BUG_FIX),