Don't report redundant semicolon for a call before lambda expression

So #KT-22719 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-02-08 11:22:45 +03:00
committed by Mikhail Glukhikh
parent f9555f3f64
commit 059a797e10
3 changed files with 24 additions and 7 deletions
@@ -0,0 +1,8 @@
// PROBLEM: none
fun test() {
foo()<caret>;
// comment
{ i: Int -> }.doIt()
}
fun foo() {}
fun ((Int) -> Unit).doIt() {}