Replace annotations with brackets in testData
Just in tests that changed after deprecation
This commit is contained in:
@@ -11,7 +11,7 @@ val extensionWithName = fun A.name() {}
|
||||
val withoutName = fun () {}
|
||||
val extensionWithoutName = fun A.() {}
|
||||
|
||||
fun withAnnotation() = [ann(ok)] fun () {}
|
||||
fun withAnnotation() = @ann(ok) fun () {}
|
||||
val withReturn = fun (): Int { return 5}
|
||||
val withExpression = fun() = 5
|
||||
val funfun = fun() = fun() = 5
|
||||
|
||||
@@ -8,5 +8,5 @@ fun bar(a: Any) = <!NON_MEMBER_FUNCTION_NO_BODY!>fun name()<!>
|
||||
fun outer() {
|
||||
bar(<!NON_MEMBER_FUNCTION_NO_BODY!>fun ()<!>)
|
||||
bar(<!NON_MEMBER_FUNCTION_NO_BODY!>fun name()<!>)
|
||||
bar(<!NON_MEMBER_FUNCTION_NO_BODY!>[ann] fun name()<!>)
|
||||
bar(<!NON_MEMBER_FUNCTION_NO_BODY!>@ann fun name()<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user