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