K2: introduce OptIn language version checker

#KT-60598 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-07-17 11:09:07 +02:00
committed by Space Team
parent 8c305d6143
commit 95bf63d6cb
29 changed files with 196 additions and 49 deletions
+2
View File
@@ -1,5 +1,7 @@
$TESTDATA_DIR$/experimentalNested.kt
-d
$TEMP_DIR$
-language-version
2.0
-opt-in=kotlin.RequiresOptIn
-opt-in=org.test.Outer.Nested