[FIR] Add FUNCTION_DELEGATE_MEMBER_NAME_CLASH
This commit is contained in:
committed by
teamcityserver
parent
a5caa14255
commit
7e7066d75e
-32
@@ -1,32 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun interface F1 {
|
||||
val functionDelegate: Function<*>? get() = null
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
fun interface F2 {
|
||||
fun getFunctionDelegate(): Function<*>? = null
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
fun interface F3 {
|
||||
val getFunctionDelegate: Function<*>? get() = null
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
fun interface F4 {
|
||||
fun functionDelegate(): Function<*>? = null
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
fun interface F5 {
|
||||
val functionDelegate: Any? get() = null
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
fun interface F6 {
|
||||
val String.functionDelegate: Function<*>? get() = null
|
||||
fun getFunctionDelegate(x: Any?): Function<*>? = null
|
||||
fun invoke()
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun interface F1 {
|
||||
|
||||
Reference in New Issue
Block a user