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