FIR: Properly deserialize upper bounds of classes type parameters
^KT-46661 Fixed
This commit is contained in:
committed by
teamcityserver
parent
858e3584a9
commit
d4586cefb4
@@ -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!><!>) {}
|
||||
|
||||
+1
-1
@@ -21,6 +21,6 @@ object<!SYNTAX!><!> {
|
||||
|
||||
}
|
||||
|
||||
enum class<!SYNTAX!><!> {}
|
||||
<!UPPER_BOUND_VIOLATED!>enum class<!SYNTAX!><!> {}<!>
|
||||
|
||||
annotation class<!SYNTAX!><!> {}
|
||||
|
||||
Reference in New Issue
Block a user