Create from Usage: Show receiver type in the text of "Create extension" quick fix

(cherry picked from commit c0d5df1)
This commit is contained in:
Alexey Sedunov
2016-06-29 19:22:53 +03:00
parent 79f73d3cc2
commit 1a13c21377
97 changed files with 116 additions and 99 deletions
@@ -1,4 +1,4 @@
// "Create extension function 'foo'" "true"
// "Create extension function 'Int.foo'" "true"
// WITH_RUNTIME
fun <T, U> T.map(f: T.() -> U) = f()
@@ -1,4 +1,4 @@
// "Create extension function 'foo'" "true"
// "Create extension function 'Int.foo'" "true"
// WITH_RUNTIME
fun <T, U> T.map(f: T.() -> U) = f()
@@ -1,4 +1,4 @@
// "Create extension function 'foo'" "true"
// "Create extension function 'Int.foo'" "true"
// WITH_RUNTIME
fun <T, U> T.map(f: (T) -> U) = f(this)
@@ -1,4 +1,4 @@
// "Create extension function 'foo'" "true"
// "Create extension function 'Int.foo'" "true"
// WITH_RUNTIME
fun <T, U> T.map(f: (T) -> U) = f(this)