FIR: report ambiguity-like errors in type resolve
This commit is contained in:
@@ -57,7 +57,7 @@ package abc4
|
||||
import kotlin.<!CONFLICTING_IMPORT!>Throws<!>
|
||||
import kotlin.jvm.<!CONFLICTING_IMPORT!>Throws<!>
|
||||
|
||||
@<!UNRESOLVED_REFERENCE!>Throws<!>(Exception::class)
|
||||
@<!OVERLOAD_RESOLUTION_AMBIGUITY!>Throws<!>(Exception::class)
|
||||
fun foo1() {}
|
||||
|
||||
@kotlin.Throws(Exception::class)
|
||||
@@ -66,7 +66,7 @@ fun foo2() {}
|
||||
@kotlin.jvm.Throws(Exception::class)
|
||||
fun foo3() {}
|
||||
|
||||
fun foo5(x: <!UNRESOLVED_REFERENCE!>Throws<!>) {}
|
||||
fun foo5(x: <!OVERLOAD_RESOLUTION_AMBIGUITY!>Throws<!>) {}
|
||||
fun foo6(x: kotlin.Throws) {}
|
||||
fun foo7(x: kotlin.jvm.Throws) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user