f35af11423
- Convert between conventions call for 'get' and 'invoke' - Drop 'operator' when converting 'get'/'invoke' to something other than 'invoke'/'get' respectively #KT-12365 Fixed
7 lines
94 B
Kotlin
Vendored
7 lines
94 B
Kotlin
Vendored
class A {
|
|
operator fun <caret>get(n: Int, s: String) = 1
|
|
}
|
|
|
|
fun test() {
|
|
A()[1, "2"]
|
|
} |