Rename Extension annotation to ExtensionFunctionType
The old one is kept temporarily and will be removed later
This commit is contained in:
@@ -6,8 +6,8 @@ fun foo(<!UNUSED_PARAMETER!>a<!>: (String) -> Unit) {
|
||||
|
||||
interface A : (String) -> Unit {}
|
||||
|
||||
fun foo(<!UNUSED_PARAMETER!>a<!>: @Extension A) {
|
||||
fun foo(<!UNUSED_PARAMETER!>a<!>: @ExtensionFunctionType A) {
|
||||
// @Extension annotation on an unrelated type shouldn't have any effect on this diagnostic.
|
||||
// Only kotlin.Function{n} type annotated with @Extension should
|
||||
"".<!UNRESOLVED_REFERENCE!>a<!>()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user