Don't suggest 'Redundant semicolon' before lambda extension call

So #KT-23152 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-03-22 06:44:36 +03:00
committed by Mikhail Glukhikh
parent 5d06c2c584
commit 7328f75103
4 changed files with 38 additions and 1 deletions
@@ -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() {}