Create parameter from usage: Support UNRESOLVE_REFERENCE_WRONG_RECEIVER diagnostic
#KT-6431 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user