fddfbf225f
Also drop 'operator' keyword when necessary #KT-22718 Fixed
9 lines
129 B
Kotlin
Vendored
9 lines
129 B
Kotlin
Vendored
class A {
|
|
operator fun invoke(i: Int, s: String) {}
|
|
}
|
|
|
|
fun usage(a: A) {
|
|
a(42, "")
|
|
A()(42, "")
|
|
a.invoke(42, "")
|
|
} |