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
@@ -1,4 +1,6 @@
// WITH_RUNTIME
fun foo() {
<caret>assert(true) { "text" }
<caret>assert(true) {
return
}
}