FIR: Temporary adjust diagnostics test data

UPPER_BOUND_VIOLATED for type alias constructors is not supported properly
See KT-43142
This commit is contained in:
Denis Zharkov
2020-11-03 16:04:51 +03:00
parent d58e66e79a
commit 96c3436e73
8 changed files with 18 additions and 18 deletions
@@ -41,8 +41,8 @@ fun <K, L : K> rest() {
class NumColl<T : Collection<Number>>
typealias NL<K> = NumColl<List<K>>
val test7 = NL<Int>()
val test8 = <!UPPER_BOUND_VIOLATED!>NL<String>()<!>
val test8 = NL<String>()
class NumberPhile<T: Number>(x: T)
val np1 = NumberPhile(10)
val np2 = <!INAPPLICABLE_CANDIDATE!>NumberPhile<!>("Test")
val np2 = <!INAPPLICABLE_CANDIDATE!>NumberPhile<!>("Test")