[FIR] Ignore failing test, improve DiagnosticKind, fix UPPER_BOUND
This commit is contained in:
+4
-4
@@ -7,8 +7,8 @@ abstract class Foo<T> {
|
||||
}
|
||||
|
||||
fun <T> foo() {
|
||||
bar<<!TYPE_ARGUMENTS_NOT_ALLOWED, UPPER_BOUND_VIOLATED!>T<Int><!>>()
|
||||
bar<List<List<<!TYPE_ARGUMENTS_NOT_ALLOWED, UPPER_BOUND_VIOLATED!>T<Boolean><!>>>>()
|
||||
bar<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<Int><!>>()
|
||||
bar<List<List<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<Boolean><!>>>>()
|
||||
}
|
||||
|
||||
fun <T> bar() {}
|
||||
@@ -27,8 +27,8 @@ fun <G> gest() {}
|
||||
|
||||
fun <T> fest() {
|
||||
val b: List<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<Double><!>>
|
||||
gest<<!TYPE_ARGUMENTS_NOT_ALLOWED, UPPER_BOUND_VIOLATED!>T<Char><!>>()
|
||||
gest<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<Char><!>>()
|
||||
gest<T>()
|
||||
val c: List<List<List<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<String><!>>>>
|
||||
gest<List<List<<!TYPE_ARGUMENTS_NOT_ALLOWED, UPPER_BOUND_VIOLATED!>T<Boolean><!>>>>()
|
||||
gest<List<List<<!TYPE_ARGUMENTS_NOT_ALLOWED!>T<Boolean><!>>>>()
|
||||
}
|
||||
+2
-2
@@ -14,8 +14,8 @@ fun test() {
|
||||
val b1 = B<<!UPPER_BOUND_VIOLATED!>Int<!>>()
|
||||
val b2 = B<C>()
|
||||
val b3 = B<<!UPPER_BOUND_VIOLATED!>Any?<!>>()
|
||||
val b4 = B<<!OTHER_ERROR, UPPER_BOUND_VIOLATED!>UnexistingType<!>>()
|
||||
val b5 = B<<!OTHER_ERROR, UPPER_BOUND_VIOLATED!>B<UnexistingType><!>>()
|
||||
val b4 = B<<!UNRESOLVED_REFERENCE!>UnexistingType<!>>()
|
||||
val b5 = B<<!UNRESOLVED_REFERENCE!>B<UnexistingType><!>>()
|
||||
fest<<!UPPER_BOUND_VIOLATED!>Boolean<!>>()
|
||||
fest<C>()
|
||||
fest<HHH>()
|
||||
|
||||
Reference in New Issue
Block a user