[FIR] Mute failing tests

This commit is contained in:
Roman Artemev
2021-03-12 18:43:30 +03:00
parent 92eac7e124
commit ab8f64a3ee
13 changed files with 13 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +MultiPlatformProjects
expect abstract class A protected constructor() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +MultiPlatformProjects
expect enum class MyEnum {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +MultiPlatformProjects
expect sealed class Ops()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun f(
f1: () -> String = { f2() },
f2: () -> String = { "FAIL" }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !IGNORE_ERRORS
val test1 = unresolved
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !IGNORE_ERRORS
fun test1() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions
fun interface IFoo {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
inline fun foo() = false
fun run(x: Boolean, y: Boolean): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// SKIP_KT_DUMP
// This test exists only to check that we don't accidentally break the buggy behavior of the old JVM backend in JVM IR (KT-42321).
// Feel free to remove it as soon as there's no language version where such code is allowed (KT-38895).
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +NewInference +SamConversionPerArgument +SamConversionForKotlinFunctions -ProhibitVarargAsArrayAfterSamArgument
// WITH_JDK
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// FILE: signedToUnsignedConversions_annotation.kt
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +VariableDeclarationInWhenSubject
fun foo(): Any = 1
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// !LANGUAGE: +NewInference
// WITH_RUNTIME