Simplify message expression from lambda argument when converting assert to if.
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
<caret>assert(true, { "text" })
|
||||
<caret>assert(true, {
|
||||
if (true) "text" else return
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user