Fix testData

This commit is contained in:
Ilya Gorbunov
2016-01-31 18:23:27 +03:00
parent a192915c82
commit 801a26a544
10 changed files with 15 additions and 18 deletions
@@ -1,6 +1,6 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
// ERROR: None of the following functions can be called with the arguments supplied: <br>public fun assert(value: kotlin.Boolean): kotlin.Unit defined in kotlin<br>public inline fun assert(value: kotlin.Boolean, lazyMessage: () -> kotlin.Any): kotlin.Unit defined in kotlin
// ERROR: None of the following functions can be called with the arguments supplied: <br>@kotlin.internal.InlineOnly public inline fun assert(value: kotlin.Boolean): kotlin.Unit defined in kotlin<br>@kotlin.internal.InlineOnly public inline fun assert(value: kotlin.Boolean, lazyMessage: () -> kotlin.Any): kotlin.Unit defined in kotlin
fun foo() {
<caret>assert()
@@ -3,5 +3,5 @@
package test
fun foo() {
<caret>currentThread
<caret>asserter
}
@@ -2,8 +2,8 @@
package test
import kotlin.concurrent.currentThread
import kotlin.test.asserter
fun foo() {
currentThread
asserter
}
+1 -1
View File
@@ -1,4 +1,4 @@
Resolve target: fun kotlin.CharSequence.isNotEmpty(): kotlin.Boolean
Resolve target: inline fun kotlin.CharSequence.isNotEmpty(): kotlin.Boolean
----------------------------------------------
fun foo(p: String) {
/* STATEMENT DELETED: if (x()) return */