ComplexRedundantLetInspection: fix highlight for multiple line receiver

#KT-31278 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-24 19:17:43 +07:00
parent b97aaf0f71
commit 7e0db3d612
4 changed files with 23 additions and 2 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
// HIGHLIGHT: INFORMATION
fun test() {
runCatching {
/* lots of code*/
}.let<caret> { println(it) }
}
@@ -0,0 +1,8 @@
// WITH_RUNTIME
// HIGHLIGHT: INFORMATION
fun test() {
println(runCatching {
/* lots of code*/
})
}