[FIR] Enable BytecodeText tests for FIR.

143 out of 767 tests (18.6%) are currently failing.
This commit is contained in:
Mark Punzalan
2020-09-29 00:25:09 +00:00
committed by Mikhail Glukhikh
parent 69cd729506
commit 238cc7c257
146 changed files with 5146 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import kotlin.test.assertEquals
fun foo(x : String) : String {

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(x : String) : String {
return when (x) {
"abc", "cde" -> "abc_cde"

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
const val y = "cde"
fun foo(x : String) : String {

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo1(x : String?) : String {
when (x) {
"abc", "cde" -> return "abc_cde"

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(x : String) : String {
assert("abz]".hashCode() == "aby|".hashCode())

View File

@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo1(x : String) : String {
when (x) {
"abc", "cde" -> return "abc_cde"