Intentions: Implement "Add names to call arguments" intention

#KT-14729 Fixed
This commit is contained in:
Alexey Sedunov
2016-11-28 15:17:43 +03:00
parent 890578a6a0
commit c773afdbfa
25 changed files with 262 additions and 1 deletions
@@ -0,0 +1,8 @@
// IS_APPLICABLE: false
// ERROR: None of the following functions can be called with the arguments supplied: <br>public fun foo(s: String, b: Boolean, c: Char): Unit defined in root package<br>public fun foo(s: String, b: Boolean, p: Int): Unit defined in root package
fun foo(s: String, b: Boolean, p: Int){}
fun foo(s: String, b: Boolean, c: Char){}
fun bar() {
<caret>foo("", true)
}