Extract Function: Fix replacement of type references and constructor references
This commit is contained in:
@@ -1 +1 @@
|
||||
class foo.A will no longer be accessible after extraction
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
@@ -1 +1 @@
|
||||
class foo.A will no longer be accessible after extraction
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
@@ -0,0 +1,8 @@
|
||||
// SIBLING:
|
||||
fun foo(a: Int): Int {
|
||||
object A {
|
||||
fun bar(): Int = a + 10
|
||||
}
|
||||
|
||||
return <selection>A.bar()</selection>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
Reference in New Issue
Block a user