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
@@ -0,0 +1,7 @@
// WITH_RUNTIME
fun foo() {
<caret>assert(true, {
val value = 1
"text and $value"
})
}