FIR: Properly deserialize upper bounds of classes type parameters

^KT-46661 Fixed
This commit is contained in:
Denis.Zharkov
2021-05-14 14:39:24 +03:00
committed by teamcityserver
parent 858e3584a9
commit d4586cefb4
17 changed files with 24 additions and 49 deletions
@@ -1,4 +1,5 @@
// FIR_IDENTICAL
// FIR_IDE_IGNORE
// !DIAGNOSTICS: -REDECLARATION -DUPLICATE_CLASS_NAMES
class C {
@@ -15,4 +16,4 @@ class C {
class C1<<!SYNTAX!>in<!>> {}
class C2(val<!SYNTAX!><!>) {}
class C2(val<!SYNTAX!><!>) {}
@@ -21,6 +21,6 @@ object<!SYNTAX!><!> {
}
enum class<!SYNTAX!><!> {}
<!UPPER_BOUND_VIOLATED!>enum class<!SYNTAX!><!> {}<!>
annotation class<!SYNTAX!><!> {}