Improve NONE_APPLICABLE ide renderer
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: NONE_APPLICABLE
|
||||
// !MESSAGE_TYPE: HTML
|
||||
|
||||
package a.b
|
||||
|
||||
fun foo(a: kotlin.String) {
|
||||
|
||||
}
|
||||
|
||||
fun foo(b: String) {
|
||||
|
||||
}
|
||||
|
||||
fun foo(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
class String
|
||||
|
||||
val c = foo(1, 2)
|
||||
@@ -0,0 +1,9 @@
|
||||
<!-- noneApplicableHtml1 -->
|
||||
<html>
|
||||
None of the following functions can be called with the arguments supplied.
|
||||
<ul>
|
||||
<li>foo(<font color=red><b>a.b.String</b></font><font color=red><b>)</b></font> <i>defined in</i> a.b</li>
|
||||
<li>foo(Int<font color=red><b>)</b></font> <i>defined in</i> a.b</li>
|
||||
<li>foo(<font color=red><b>kotlin.String</b></font><font color=red><b>)</b></font> <i>defined in</i> a.b</li>
|
||||
</ul>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: NONE_APPLICABLE
|
||||
// !MESSAGE_TYPE: TEXT
|
||||
|
||||
package a.b
|
||||
|
||||
fun foo(a: kotlin.String) {
|
||||
|
||||
}
|
||||
|
||||
fun foo(b: String) {
|
||||
|
||||
}
|
||||
|
||||
fun foo(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
class String
|
||||
|
||||
val c = foo(1, 2)
|
||||
@@ -0,0 +1,5 @@
|
||||
<!-- noneApplicableTxt1 -->
|
||||
None of the following functions can be called with the arguments supplied:
|
||||
public fun foo(b: a.b.String): Unit defined in a.b
|
||||
public fun foo(i: Int): Unit defined in a.b
|
||||
public fun foo(a: kotlin.String): Unit defined in a.b
|
||||
Reference in New Issue
Block a user