Name Suggester: Allow any Kotlin identifier in suggested names
#KT-10332 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo(): Int.(Int) -> Int = { 1 }
|
||||
|
||||
fun test() {
|
||||
<selection>foo()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
foo
|
||||
function
|
||||
*/
|
||||
@@ -0,0 +1,10 @@
|
||||
fun foo(): Int.(Int, Int) -> Int = { 1 }
|
||||
|
||||
fun test() {
|
||||
<selection>foo()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
foo
|
||||
function
|
||||
*/
|
||||
@@ -0,0 +1,10 @@
|
||||
fun foo(): (Int) -> Int = { 1 }
|
||||
|
||||
fun test() {
|
||||
<selection>foo()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
foo
|
||||
function
|
||||
*/
|
||||
@@ -0,0 +1,10 @@
|
||||
fun foo(): (Int, Int) -> Int = { 1 }
|
||||
|
||||
fun test() {
|
||||
<selection>foo()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
foo
|
||||
function
|
||||
*/
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test123
|
||||
|
||||
fun foo() {
|
||||
<selection>Test123()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
test123
|
||||
*/
|
||||
@@ -0,0 +1,9 @@
|
||||
class Тест123
|
||||
|
||||
fun тест() {
|
||||
<selection>Тест123()</selection>
|
||||
}
|
||||
|
||||
/*
|
||||
тест123
|
||||
*/
|
||||
Reference in New Issue
Block a user