Deprecate function expressions with names
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
annotation class ann
|
||||
val bas = <!NON_MEMBER_FUNCTION_NO_BODY!>fun ()<!>
|
||||
|
||||
fun bar(a: Any) = <!NON_MEMBER_FUNCTION_NO_BODY!>fun name()<!>
|
||||
fun bar(a: Any) = <!NON_MEMBER_FUNCTION_NO_BODY!>fun ()<!>
|
||||
|
||||
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(l@ <!NON_MEMBER_FUNCTION_NO_BODY!>fun ()<!>)
|
||||
bar(<!NON_MEMBER_FUNCTION_NO_BODY!>@ann fun ()<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user