Create from Usage: Fix rendering of receiver type reference
#KT-9559 Fixed
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// "Create extension function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
import package1.A
|
||||
|
||||
class X {
|
||||
init {
|
||||
val y = package2.A()
|
||||
y.foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun package2.A.foo() {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package package1
|
||||
|
||||
class A
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package package2
|
||||
|
||||
class A
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Create extension function 'foo'" "true"
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
import package1.A
|
||||
|
||||
class X {
|
||||
init {
|
||||
val y = package2.A()
|
||||
y.<caret>foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user