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