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