Simplify message expression from lambda argument when converting assert to if.
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
<caret>assert(true, {
|
||||
val value = 1
|
||||
"text and $value"
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user