Add html escaping for declaration names in calls (KT-10763)
#KT-10763 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// !DIAGNOSTICS_NUMBER: 1
|
||||
// !DIAGNOSTICS: NONE_APPLICABLE
|
||||
// !MESSAGE_TYPE: HTML
|
||||
|
||||
class A(a: Int) {
|
||||
}
|
||||
|
||||
fun A(a: String) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
A()
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<!-- noneApplicableConstructor1 -->
|
||||
<html>
|
||||
None of the following functions can be called with the arguments supplied.
|
||||
<ul>
|
||||
<li><`init>(<font color=red><b>Int</b></font>) <i>defined in</i> A</li>
|
||||
<li>A(<font color=red><b>String</b></font>) <i>defined in</i> root package</li>
|
||||
</ul>
|
||||
</html>
|
||||
Reference in New Issue
Block a user