[FIR] Add diagnostic UPPER_BOUND_VIOLATED

This commit is contained in:
Nick
2020-07-09 13:46:16 +03:00
committed by Mikhail Glukhikh
parent b9a220c624
commit 41a0cfe002
17 changed files with 361 additions and 34 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ class Test1<T>()
}
fun test() {
Test1<B>()
Test1<A>()
Test1<<!UPPER_BOUND_VIOLATED!>B<!>>()
Test1<<!UPPER_BOUND_VIOLATED!>A<!>>()
Test1<C>()
}