Intentions: Implement "Introduce local variable" intention
#KT-11768 Fixed
This commit is contained in:
+1
@@ -1,4 +1,5 @@
|
||||
// "Create class 'A'" "false"
|
||||
// ACTION: Rename reference
|
||||
// ACTION: Introduce local variable
|
||||
// ERROR: Unresolved reference: A
|
||||
fun foo() = J.<caret>A.B
|
||||
|
||||
Vendored
+1
@@ -2,5 +2,6 @@
|
||||
// ERROR: Too many arguments for public constructor G() defined in G
|
||||
// ACTION: Convert to block body
|
||||
// ACTION: Create function 'G'
|
||||
// ACTION: Introduce local variable
|
||||
|
||||
fun test() = G(<caret>1)
|
||||
Reference in New Issue
Block a user