KT-20166: Replace type name when caret is at the end of param name
When caret is at the end ('f<caret>: Foo'), tokenAt was COLON,
not IDENTIFIER
#KT-20166 fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class Foo
|
||||
|
||||
fun f(f<caret>: Foo)
|
||||
|
||||
// ELEMENT_TEXT: foo: Foo
|
||||
// CHAR: '\t'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class Foo
|
||||
|
||||
fun f(foo: Foo)
|
||||
|
||||
// ELEMENT_TEXT: foo: Foo
|
||||
// CHAR: '\t'
|
||||
Reference in New Issue
Block a user