Black box: update/set FIR status for some new tests

This commit is contained in:
Mikhail Glukhikh
2021-12-08 15:23:16 +03:00
committed by TeamCityServer
parent 9b42fab9de
commit 0f4647d95e
42 changed files with 43 additions and 6 deletions
@@ -1,4 +1,6 @@
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: IllegalStateException: Usage of default value argument for this annotation is not yet possible.
// Please specify value for 'A.kClass' explicitly
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_DEXING // IGNORE_DEXING
// WITH_RUNTIME // WITH_RUNTIME
@@ -3,7 +3,7 @@
// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: WASM // IGNORE_BACKEND: WASM
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: not supported in JVM // FIR status: Syntax error at (T & Any)
fun <T> test(t: T) = t as (T & Any) fun <T> test(t: T) = t as (T & Any)
+1 -1
View File
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8 // JVM_TARGET: 1.8
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: in progress (M.G.) // FIR status: in progress (M.G.), different structure of f/o
// IGNORE_BACKEND: ANDROID // IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove // ^ NSME: java.util.AbstractMap.remove
// FULL_JDK // FULL_JDK
+1 -1
View File
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8 // JVM_TARGET: 1.8
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: in progress (M.G.) // FIR status: in progress (M.G.), different structure of f/o
// IGNORE_BACKEND: ANDROID // IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove // ^ NSME: java.util.AbstractMap.remove
// FULL_JDK // FULL_JDK
+1 -1
View File
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8 // JVM_TARGET: 1.8
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: in progress (M.G.) // FIR status: in progress (M.G.), different structure of f/o
// IGNORE_BACKEND: ANDROID // IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove // ^ NSME: java.util.AbstractMap.remove
// FULL_JDK // FULL_JDK
+1 -1
View File
@@ -1,7 +1,7 @@
// TARGET_BACKEND: JVM // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8 // JVM_TARGET: 1.8
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: in progress (M.G.) // FIR status: in progress (M.G.), different structure of f/o
// IGNORE_BACKEND: ANDROID // IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove // ^ NSME: java.util.AbstractMap.remove
// FULL_JDK // FULL_JDK
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
class A(val ok: String) class A(val ok: String)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class O(val o: String) class O(val o: String)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class EntityContext { class EntityContext {
var d = DoubleArray(16) var d = DoubleArray(16)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
context(Collection<P>) class A<P> { context(Collection<P>) class A<P> {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
context(T) class B<T : CharSequence> { context(T) class B<T : CharSequence> {
val result = if (length == 2) "OK" else "fail" val result = if (length == 2) "OK" else "fail"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class A { class A {
val ok = "OK" val ok = "OK"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class A { class A {
val ok = "OK" val ok = "OK"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
data class MyContainer(var i: Int) data class MyContainer(var i: Int)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
data class MyContainer(var s: String) data class MyContainer(var s: String)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
data class Result(var i: Int) data class Result(var i: Int)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
fun withContext(f: context(String) () -> String) = f("OK") fun withContext(f: context(String) () -> String) = f("OK")
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_STDLIB // WITH_STDLIB
import kotlin.reflect.KProperty import kotlin.reflect.KProperty
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
interface Canvas { interface Canvas {
val suffix: String val suffix: String
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
data class Pair<A, B>(val first: A, val second: B) data class Pair<A, B>(val first: A, val second: B)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
fun List<Int>.decimateEveryEvenThird() = sequence { fun List<Int>.decimateEveryEvenThird() = sequence {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
class View { class View {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class Param class Param
class O { class O {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
interface Semigroup<T> { interface Semigroup<T> {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
// WITH_COROUTINES // WITH_COROUTINES
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class Result<T>(val x: T) class Result<T>(val x: T)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_STDLIB // WITH_STDLIB
data class Counter(var i: Int = 0) data class Counter(var i: Int = 0)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
context(String, Int) context(String, Int)
fun overloaded(value: Any?) = "OK" fun overloaded(value: Any?) = "OK"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
context(Int, String) context(Int, String)
fun foo(): String = "O" fun foo(): String = "O"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class C { class C {
val result = "OK" val result = "OK"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
@file:Suppress("RESERVED_VAR_PROPERTY_OF_VALUE_CLASS") @file:Suppress("RESERVED_VAR_PROPERTY_OF_VALUE_CLASS")
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
interface NumberOperations { interface NumberOperations {
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class LoggingCounter { class LoggingCounter {
var operationCounter = 0 var operationCounter = 0
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class A { class A {
val o = "O" val o = "O"
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
class A<T>(val a: T) class A<T>(val a: T)
class B(val b: Any?) class B(val b: Any?)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
data class Result(val i: Int) data class Result(val i: Int)
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// WITH_RUNTIME // WITH_RUNTIME
// WITH_COROUTINES // WITH_COROUTINES
@@ -1,6 +1,7 @@
// !LANGUAGE: +ContextReceivers // !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: context receivers aren't yet supported
// MODULE: lib // MODULE: lib
// FILE: A.kt // FILE: A.kt
+1
View File
@@ -1,5 +1,6 @@
// IGNORE_BACKEND: JVM // IGNORE_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: UPPER_BOUND_VIOLATED at Service<out T>
inline fun < inline fun <
reified TService : Service<TService, TEvent>, reified TService : Service<TService, TEvent>,
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR
// FIR status: a new FE 1.0 test, failed with FIR, need to review // FIR status: several false UPPER_BOUND_VIOLATED are reported
abstract class Interpreter<IS, TS, SELF> abstract class Interpreter<IS, TS, SELF>
where IS : Interpreter.Intermediary<SELF>, where IS : Interpreter.Intermediary<SELF>,