Experimental fixes: introduce "add annotation" (KT-22760)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Add '@MyExperimentalAPI' annotation to containing class 'Bar'" "true"
|
||||
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental
|
||||
// WITH_RUNTIME
|
||||
|
||||
@Experimental
|
||||
annotation class MyExperimentalAPI
|
||||
|
||||
@MyExperimentalAPI
|
||||
fun foo() {}
|
||||
|
||||
class Bar {
|
||||
fun bar() {
|
||||
foo<caret>()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user