Files
kotlin-fork/idea/testData/diagnosticMessage/conflictingSubstitutions2.html
T
2014-03-02 19:55:26 +04:00

116 lines
2.0 KiB
HTML

<!-- conflictingSubstitutions2 -->
<html>
Type inference failed: Cannot infer type parameter <b>
T</b>
in <table>
<tr>
<td width="10%">
</td>
<td align="right" colspan="2" style="white-space:nowrap;font-weight:bold;">
<b>
constructor</b>
Cons&lt;T, E : java.lang.Cloneable>
</td>
<td style="white-space:nowrap;font-weight:bold;">
(</td>
<td align="right" style="white-space:nowrap;font-weight:bold;">
l: MyList&lt;in T&gt;,</td>
<td align="right" style="white-space:nowrap;font-weight:bold;">
t: T</td>
<td style="white-space:nowrap;font-weight:bold;">
)</td>
<td style="white-space:nowrap;font-weight:bold;">
</td>
</tr>
<tr>
<td colspan="8" style="white-space:nowrap;">
None of the following substitutions</td>
</tr>
<tr>
<td width="10%">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
<b>
(</b>
</td>
<td align="right" style="white-space:nowrap;">
<font color=red>
<b>
MyList&lt;in kotlin.Any&gt;</b>
</font>
<b>
,</b>
</td>
<td align="right" style="white-space:nowrap;">
<b>
kotlin.Any</b>
</td>
<td style="white-space:nowrap;">
<b>
)</b>
</td>
</tr>
<tr>
<td width="10%">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
<b>
(</b>
</td>
<td align="right" style="white-space:nowrap;">
<b>
MyList&lt;in kotlin.Int&gt;</b>
<b>
,</b>
</td>
<td align="right" style="white-space:nowrap;">
<font color=red>
<b>
kotlin.Int</b>
</font>
</td>
<td style="white-space:nowrap;">
<b>
)</b>
</td>
</tr>
<tr>
<td colspan="8" style="white-space:nowrap;">
can be applied to</td>
</tr>
<tr>
<td width="10%">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
</td>
<td style="white-space:nowrap;">
<b>
(</b>
</td>
<td align="right" style="white-space:nowrap;">
<b>
MyList&lt;kotlin.Int&gt;</b>
<b>
,</b>
</td>
<td align="right" style="white-space:nowrap;">
<b>
kotlin.Any</b>
</td>
<td style="white-space:nowrap;">
<b>
)</b>
</td>
</tr>
</table>
</html>