"Surround with lambda" quickfix: suggest for suspend function
#KT-34371 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
44c34ab8c3
commit
1bc72f0b32
@@ -0,0 +1,6 @@
|
||||
// "Surround with lambda" "true"
|
||||
fun foo(action: suspend () -> String) {}
|
||||
|
||||
fun usage() {
|
||||
foo("oraora"<caret>)
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Surround with lambda" "true"
|
||||
fun foo(action: suspend () -> String) {}
|
||||
|
||||
fun usage() {
|
||||
foo({ "oraora" })
|
||||
}
|
||||
Reference in New Issue
Block a user