Create from Usage: Show target class name in the text of "Create member" quick fix

(cherry picked from commit a51d3fc)
This commit is contained in:
Alexey Sedunov
2016-07-15 00:52:26 +03:00
parent 82bdd1e42b
commit a1e86e8bfa
220 changed files with 234 additions and 229 deletions
@@ -1,6 +1,6 @@
// "Import" "false"
// ACTION: Create extension function 'H?.inc'
// ACTION: Create member function 'inc'
// ACTION: Create member function 'H.inc'
// ACTION: Replace overloaded operator with function call
// ERROR: Unresolved reference: ++
@@ -3,7 +3,7 @@
// ERROR: Unresolved reference: foo()["str"]
// ERROR: No get method providing array access
// ACTION: Create extension function 'Some.get'
// ACTION: Create member function 'get'
// ACTION: Create member function 'Some.get'
// ACTION: Replace overloaded operator with function call
@@ -3,7 +3,7 @@
// ERROR: Unresolved reference: foo()["str"]
// ERROR: No set method providing array access
// ACTION: Create extension function 'Some.set'
// ACTION: Create member function 'set'
// ACTION: Create member function 'Some.set'
// ACTION: Replace overloaded operator with function call
@@ -3,7 +3,7 @@
// ERROR: Unresolved reference: foo()["str"]
// ERROR: No get method providing array access
// ACTION: Create extension function 'Some.get'
// ACTION: Create member function 'get'
// ACTION: Create member function 'Some.get'
// ACTION: Replace overloaded operator with function call
@@ -1,7 +1,7 @@
// "Import" "false"
// ERROR: Unresolved reference: foo
// ACTION: Create extension function 'H.foo'
// ACTION: Create member function 'foo'
// ACTION: Create member function 'H.foo'
// ACTION: Replace infix call with ordinary call
package h
@@ -2,7 +2,7 @@
// "Import" "false"
// ERROR: Expression 'Some()' of type 'Some' cannot be invoked as a function. The function 'invoke()' is not found
// ACTION: Create extension function 'Some.invoke'
// ACTION: Create member function 'invoke'
// ACTION: Create member function 'Some.invoke'
package testing
@@ -2,7 +2,7 @@
// "Import" "false"
// ERROR: Destructuring declaration initializer of type Some must have a 'component1()' function
// ACTION: Create extension function 'Some.component1'
// ACTION: Create member function 'component1'
// ACTION: Create member function 'Some.component1'
package testing