[IDEA] Add HTML render for ambiguous callable references diagnostic

^KT-36125 Fixed
This commit is contained in:
Pavel Kirpichenkov
2020-03-18 19:28:43 +03:00
parent a416fde814
commit b7ea590e23
7 changed files with 86 additions and 5 deletions
@@ -0,0 +1,23 @@
// !DIAGNOSTICS_NUMBER: 1
// !DIAGNOSTICS: CALLABLE_REFERENCE_RESOLUTION_AMBIGUITY
// !MESSAGE_TYPE: HTML
package a.b
val ref1 = take(::foo)
fun take(arg: Any) {}
fun <T> foo(a: kotlin.String, t: T) {
}
fun <T> foo(b: String, t : T) {
}
fun foo(i: Int) {
}
class String