[FIR] Don't remove subsumed members from intersection overrides's overriddens

This fixes a bunch of missing overridden symbols in IR.
This is also required for fixing KT-59921 in the following commit
where we need to keep all overridden symbols of intersection overrides
so that we can enhance them properly.

#KT-57300 Fixed
#KT-57299 Fixed
#KT-59921
#KT-57300
#KT-62788
#KT-64271
#KT-64382
This commit is contained in:
Kirill Rakhman
2024-01-17 09:59:17 +01:00
committed by Space Team
parent d80dee6e1c
commit 3b841dcb98
58 changed files with 899 additions and 530 deletions
@@ -1,13 +0,0 @@
MODULE main
CLASS MyMap.class
METHOD getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
Annotation: method.invisibleAnnotations
K1
@Lkotlin/SinceKotlin;( version: 1.1 )
K2
---
Annotation: method.invisibleAnnotations
K1
@Lkotlin/internal/PlatformDependent;
K2
---
@@ -3,7 +3,6 @@
// TARGET_BACKEND: JVM
// WITH_STDLIB
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-62788
// FILE: main.kt
var result = ""