Rename UseExperimental->OptIn, Experimental->RequiresOptIn in quickfix and IDE tests

This commit is contained in:
Alexander Udalov
2019-12-27 16:32:19 +01:00
parent da077b5353
commit 9187a85aaf
41 changed files with 104 additions and 104 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
// "Add '@MyExperimentalAPI' annotation to containing class 'Outer'" "false"
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
// ACTION: Add '@MyExperimentalAPI' annotation to 'bar'
// ACTION: Add '@MyExperimentalAPI' annotation to containing class 'Inner'
// ACTION: Add '@OptIn(MyExperimentalAPI::class)' annotation to 'bar'
// ACTION: Add '-Xuse-experimental=MyExperimentalAPI' to module light_idea_test_case compiler arguments
// ACTION: Add '-Xopt-in=MyExperimentalAPI' to module light_idea_test_case compiler arguments
// ACTION: Introduce import alias
// ERROR: This declaration is experimental and its usage must be marked with '@MyExperimentalAPI' or '@OptIn(MyExperimentalAPI::class)'
@Experimental
@RequiresOptIn
annotation class MyExperimentalAPI
@MyExperimentalAPI