Create from Usage: Show receiver type in the text of "Create extension" quick fix
(cherry picked from commit c0d5df1)
This commit is contained in:
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user