Change Signature: Add test for KT-4013 "'Change signature' does not add necessary imports"
#KT-4013 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Add parameter to function 'foo'" "true"
|
||||
// ERROR: Too many arguments for internal fun foo(): kotlin.Unit defined in b
|
||||
package a
|
||||
|
||||
import b.foo
|
||||
|
||||
class Bar
|
||||
|
||||
fun test() {
|
||||
foo(<caret>Bar())
|
||||
}
|
||||
Reference in New Issue
Block a user