Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt

9 lines
177 B
Kotlin
Vendored

// "Create member function 'plus'" "true"
class A<T>(val n: T) {
fun plus(i: Int, s: String): A<T> = throw Exception()
}
fun test() {
val a: A<Int> = A(1) <caret>+ 2
}