Fix interpreter tests after changing offset calculation

This commit is contained in:
Ilya Chernikov
2022-03-14 15:43:37 +01:00
committed by teamcity
parent 738c1f34df
commit 53bc593062
71 changed files with 359 additions and 355 deletions
+4 -4
View File
@@ -2,10 +2,10 @@ import kotlin.*
import kotlin.collections.*
import kotlin.text.*
const val a = "abcs".<!EVALUATED: `a`!>first()<!>
const val b = UIntArray(3) { it.toUInt() }.<!EVALUATED: `0`!>first()<!>
const val a = <!EVALUATED: `a`!>"abcs".first()<!>
const val b = <!EVALUATED: `0`!>UIntArray(3) { it.toUInt() }.first()<!>
const val c = <!EVALUATED: `1`!>listOf(1, "2", 3.0).first() as Int<!>
const val d = listOf<Int>().<!WAS_NOT_EVALUATED: `
const val d = <!WAS_NOT_EVALUATED: `
Exception java.util.NoSuchElementException: List is empty.
at CollectionsKt.kotlin.collections.first(Collections.kt:88)
at FirstKt.<clinit>(first.kt:8)`!>first()<!>
at FirstKt.<clinit>(first.kt:8)`!>listOf<Int>().first()<!>