K2: add & fix tests for JVM BE diagnostics

This commit is contained in:
Mikhail Glukhikh
2022-10-14 09:46:22 +02:00
committed by Space Team
parent 185e74fd26
commit 1826d9b332
34 changed files with 972 additions and 188 deletions
@@ -1,3 +1,4 @@
// IGNORE_FIR
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface Foo<T> {
@@ -1,3 +1,4 @@
// IGNORE_FIR
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface Foo<T> {
@@ -1,3 +1,4 @@
// IGNORE_FIR
// !DIAGNOSTICS: -UNUSED_PARAMETER
interface Foo<T> {
@@ -1,3 +1,5 @@
// IGNORE_FIR
class G<T>
val <T> G<T>.foo: Int
@@ -1,5 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// TARGET_BACKEND: JVM_IR
// IGNORE_FIR
interface A<T> {
fun foo(l: List<T>)