Add new IntrinsicConstEvaluation language feature

This feature will allow to evaluate function marked with
`IntrinsicConstEvaluation` annotation and so use such function
in `const val`.
This commit is contained in:
Ivan Kylchik
2023-03-15 18:05:42 +01:00
committed by Space Team
parent 6bce668cac
commit b28d9a1b48
2 changed files with 69 additions and 8 deletions
@@ -333,6 +333,7 @@ enum class LanguageFeature(
ContractSyntaxV2(sinceVersion = null, kind = UNSTABLE_FEATURE), // KT-56127
ImplicitSignedToUnsignedIntegerConversion(sinceVersion = null), // KT-56583
ForbidInferringTypeVariablesIntoEmptyIntersection(sinceVersion = null, kind = BUG_FIX), // KT-51221
IntrinsicConstEvaluation(sinceVersion = null, kind = UNSTABLE_FEATURE), // KT-49303
;
init {