d08b18f5f8
Converted from the relevant intention Reported cases: one-liners, whens Also, more exact caret detection in local inspection tests
24 lines
407 B
Plaintext
Vendored
24 lines
407 B
Plaintext
Vendored
// FILE: first.before.kt
|
|
// "Import" "false"
|
|
// ERROR: Too many arguments for public final fun foo(): Unit defined in main.X
|
|
// ACTION: Add parameter to function 'foo'
|
|
// ACTION: Create extension function 'X.foo'
|
|
// ACTION: Create member function 'X.foo'
|
|
|
|
package main
|
|
|
|
class X {
|
|
fun foo() {
|
|
}
|
|
|
|
fun f() {
|
|
this.foo(<caret>1)
|
|
}
|
|
}
|
|
|
|
// FILE: second.kt
|
|
package other
|
|
|
|
fun foo(p: Int) {
|
|
}
|