Create parameter from usage: Support UNRESOLVE_REFERENCE_WRONG_RECEIVER diagnostic

#KT-6431 Fixed
This commit is contained in:
Alexey Sedunov
2014-12-09 13:00:59 +03:00
parent 346d9ea0c5
commit 2009cc3e9e
4 changed files with 19 additions and 0 deletions
@@ -0,0 +1,6 @@
// "Create parameter 'value'" "true"
// DISABLE-ERRORS
trait Tr {
fun foo(value: String, b: String) = ""
fun bar(value: String) = foo(value, b)
}
@@ -0,0 +1,6 @@
// "Create parameter 'value'" "true"
// DISABLE-ERRORS
trait Tr {
fun foo(value: String, b: String) = ""
fun bar() = foo(<caret>value, b)
}