[FIR] Throws by star import wins builtin Throws, ^KT-52407 Fixed, ^KT-52517 Fixed

This commit is contained in:
Ivan Kochurkin
2022-05-24 21:46:37 +03:00
parent 5fdf365ac4
commit 792aa24a04
9 changed files with 71 additions and 3 deletions
@@ -112,7 +112,7 @@ package abc7
import kotlin.*
import kotlin.jvm.*
@Throws(Exception::class)
@<!OVERLOAD_RESOLUTION_AMBIGUITY!>Throws<!>(Exception::class)
fun foo1() {}
@kotlin.Throws(Exception::class)
@@ -121,7 +121,7 @@ fun foo2() {}
@kotlin.jvm.Throws(Exception::class)
fun foo3() {}
fun foo5(x: Throws) {}
fun foo5(x: <!OVERLOAD_RESOLUTION_AMBIGUITY!>Throws<!>) {}
fun foo6(x: kotlin.Throws) {}
fun foo7(x: kotlin.jvm.Throws) {}