[FIR] ignore tests which fail because of resolve contracts violation

This commit is contained in:
Ilya Kirillov
2022-11-03 12:12:32 +01:00
committed by Space Team
parent 43775a5912
commit 644d1bf0d0
492 changed files with 499 additions and 7 deletions
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// WITH_STDLIB
// SKIP_TXT
fun test() {
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// WITH_STDLIB
// SKIP_TXT
fun test() {
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_ANONYMOUS_PARAMETER -UNCHECKED_CAST
import kotlin.reflect.KFunction1
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_ANONYMOUS_PARAMETER -UNCHECKED_CAST
import kotlin.reflect.KFunction1
@@ -13,3 +13,4 @@ fun <T: String> foo(): T {
/kt48765.kt:13:15: warning: unchecked cast: String to T
return "" as T // this cast is safe because String is final.
^
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
open class A<T1, T2> {
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
class A(t : Int) : Comparable<A> {
var i = t
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
class Item(val name: String, val rating: Int): Comparable<Item> {
public override fun compareTo(other: Item): Int {
@@ -1,3 +1,4 @@
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
// FIR_IDENTICAL
// !CHECK_TYPE
// !DIAGNOSTICS: -UNUSED_PARAMETER