Simplify message expression from lambda argument when converting assert to if.

This commit is contained in:
Ilya Gorbunov
2015-11-09 23:13:27 +03:00
parent 3639afafce
commit a793a63b73
21 changed files with 88 additions and 24 deletions
@@ -2,5 +2,5 @@
fun foo() {
val x = true
val y = false
<caret>assert(x || y, "text")
<caret>assert(x || y) { "text" }
}