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