Intention to convert assert to an if with throw
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
val x = true
|
||||
val y = false
|
||||
<caret>assert(x || y, "text")
|
||||
}
|
||||
Reference in New Issue
Block a user