[FIR] Ignore failing test, improve DiagnosticKind, fix UPPER_BOUND
This commit is contained in:
-20
@@ -1,20 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class A<T : <!OTHER_ERROR!>Nested<!>, F: <!OTHER_ERROR!>Inner<!>, G: <!OTHER_ERROR!>Interface<!>> {
|
||||
|
||||
class Nested
|
||||
|
||||
inner class Inner
|
||||
|
||||
interface Interface
|
||||
}
|
||||
|
||||
class B<T, F, G> where T : <!OTHER_ERROR!>Nested<!>, F: <!OTHER_ERROR!>Inner<!>, G: <!OTHER_ERROR!>Interface<!> {
|
||||
|
||||
class Nested
|
||||
|
||||
inner class Inner
|
||||
|
||||
interface Interface
|
||||
}
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class A<T : <!UNRESOLVED_REFERENCE!>Nested<!>, F: <!UNRESOLVED_REFERENCE!>Inner<!>, G: <!UNRESOLVED_REFERENCE!>Interface<!>> {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
interface I<F, G, H>
|
||||
|
||||
class A(impl: Interface) : <!OTHER_ERROR!>Nested<!>(), <!OTHER_ERROR!>Interface<!> by impl, <!OTHER_ERROR!>Inner<!>, <!OTHER_ERROR!>I<Nested, Interface, Inner><!> {
|
||||
class A(impl: Interface) : <!UNRESOLVED_REFERENCE!>Nested<!>(), <!UNRESOLVED_REFERENCE!>Interface<!> by impl, <!UNRESOLVED_REFERENCE!>Inner<!>, <!UNRESOLVED_REFERENCE!>I<Nested, Interface, Inner><!> {
|
||||
|
||||
class Nested
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ interface I<F, G>
|
||||
val aImpl: A.Interface
|
||||
get() = null!!
|
||||
|
||||
object A : <!OTHER_ERROR!>Nested<!>(), <!OTHER_ERROR!>Interface<!> by aImpl, <!OTHER_ERROR!>I<Nested, Interface><!> {
|
||||
object A : <!UNRESOLVED_REFERENCE!>Nested<!>(), <!UNRESOLVED_REFERENCE!>Interface<!> by aImpl, <!UNRESOLVED_REFERENCE!>I<Nested, Interface><!> {
|
||||
|
||||
class Nested
|
||||
|
||||
|
||||
Reference in New Issue
Block a user