ConvertIfWithThrowToAssertIntention: generate assert with lazy argument

This commit is contained in:
Natalia Ukhorskaya
2015-12-16 15:24:28 +03:00
parent 2dc1ba1d62
commit 2c29f6f5ab
7 changed files with 7 additions and 7 deletions
@@ -1,4 +1,4 @@
// WITH_RUNTIME
fun foo() {
assert(!true, "text")
assert(!true) { "text" }
}