Intention to convert assert into an if with throw - bug fix for when the call is dot qualified
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
kotlin.<caret>assert(true, "text")
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
if (!true) {
|
||||
throw AssertionError("text")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user