ComplexRedundantLetInspection: fix highlight for multiple line receiver
#KT-31278 Fixed
This commit is contained in:
@@ -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*/
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user