Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/binaryOperations/plusMissingArgs.kt
2016-07-20 15:39:19 +03:00

9 lines
179 B
Kotlin
Vendored

// "Create member function 'A.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
}