ConvertIfWithThrowToAssertIntention: generate assert with lazy argument
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
assert(!true, "text")
|
||||
assert(!true) { "text" }
|
||||
}
|
||||
Reference in New Issue
Block a user