K2: Fix priority for implicit receiver + extensionInvoke

See K1 counterpart at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.Task.processImplicitReceiver

^KT-58943 Fixed
^KT-59541 Fixed
This commit is contained in:
Denis.Zharkov
2023-05-26 18:35:24 +02:00
committed by Space Team
parent 1f120ecd20
commit 3279313f2c
24 changed files with 160 additions and 31 deletions
@@ -1,10 +1,5 @@
// WITH_STDLIB
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
// FIR status:
// java.lang.StackOverflowError
// at Nat$Companion$invoke$1.next(kt36853_fibonacci.kt:40) ...
fun box(): String {
Nat<Int>(
nil = 0,