3fed4e6dc7
#KT-10657 Fixed
13 lines
422 B
Kotlin
Vendored
13 lines
422 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun Int.invoke(a: Int) {}
|
|
fun Int.invoke(a: Int, b: Int) {}
|
|
|
|
class SomeClass
|
|
|
|
fun test(identifier: SomeClass, fn: String.() -> Unit) {
|
|
<!FUNCTION_EXPECTED, DEBUG_INFO_MISSING_UNRESOLVED!>identifier<!>()
|
|
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>identifier<!>(123)
|
|
<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>identifier<!>(1, 2)
|
|
1.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>fn<!>()
|
|
} |