Update testData for restricted expression annotations retention
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun foo(arg: String?) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun foo(arg: String?) {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
var b = true
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun println(s: String) {}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
var b = true
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun println(s: String) {}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ann
|
||||
|
||||
fun foo(): Int = <caret>@ann 1
|
||||
@@ -1,4 +1,5 @@
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class ann
|
||||
|
||||
fun foo(): Int {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
var b = true
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun foo() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
var b = true
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Ann
|
||||
|
||||
fun foo() {
|
||||
|
||||
Reference in New Issue
Block a user