Don't suggest 'Redundant semicolon' before lambda extension call
So #KT-23152 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5d06c2c584
commit
7328f75103
+11
@@ -0,0 +1,11 @@
|
||||
// PROBLEM: none
|
||||
fun test() {
|
||||
foo()<caret>;
|
||||
@Ann("")
|
||||
{ i: Int -> }.doIt()
|
||||
}
|
||||
fun foo() {}
|
||||
fun ((Int) -> Unit).doIt() {}
|
||||
|
||||
@Target(AnnotationTarget.EXPRESSION)
|
||||
annotation class Ann(val bar: String)
|
||||
@@ -0,0 +1,10 @@
|
||||
// PROBLEM: none
|
||||
fun test() {
|
||||
foo()<caret>;
|
||||
/**
|
||||
* kdoc
|
||||
*/
|
||||
{ i: Int -> }.doIt()
|
||||
}
|
||||
fun foo() {}
|
||||
fun ((Int) -> Unit).doIt() {}
|
||||
Reference in New Issue
Block a user