K2: Adjust invoke priorities with K1

- At first, get rid of a kind of interceptTowerGroup callback and use
explicit towerGroup construction instead
- Get rid of INVOKE_RECEIVER (not sure exactly why it was needed)
- Make comparison consistent with tower-levels priority of K2
(see the comments in the compareTo code)

^KT-37375 Fixed
^KT-58940 Open
This commit is contained in:
Denis.Zharkov
2023-05-25 19:09:11 +02:00
committed by Space Team
parent 04dd209f8d
commit 1f120ecd20
13 changed files with 232 additions and 68 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// ISSUE: KT-37375
val foo: Any = Any()