Trace usage in renderer replaced with usage of argument to parameter map

This commit is contained in:
Svetlana Isakova
2014-04-18 16:06:14 +04:00
parent 928b28e080
commit 4a8255a606
4 changed files with 31 additions and 54 deletions
@@ -0,0 +1,11 @@
// !DIAGNOSTICS_NUMBER: 1
// !DIAGNOSTICS: NONE_APPLICABLE
// !MESSAGE_TYPE: HTML
fun foo(i: Int, s: String, b: Boolean) {}
fun foo(b: Boolean, s: String) {}
fun foo(i: Int) {}
fun test() {
foo(1, "")
}
@@ -0,0 +1,8 @@
<!-- noneApplicable1 -->
<html>
None of the following functions can be called with the arguments supplied. <ul>
<li>foo(kotlin.Int, kotlin.String, <font color=red><b>kotlin.Boolean</b></font>) <i>defined in</i> root package</li>
<li>foo(<font color=red><b>kotlin.Boolean</b></font>, kotlin.String) <i>defined in</i> root package</li>
<li>foo(kotlin.Int<font color=red><b>)</b></font> <i>defined in</i> root package</li>
</ul>
</html>