Files
kotlin-fork/idea/testData/diagnosticMessage/conflictingSubstitutions2.html
T
Alexander Udalov fb958897a9 Introduce kotlin.Cloneable
- Cloneable is a trait with a single protected member 'clone', which is mapped
  to java.lang.Cloneable on JVM
- 'clone' is non-abstract to be able to call 'super.clone()' in the
  implementations. Also if you need your class to be Cloneable, most of the
  time inheriting from Cloneable and calling 'super.clone()' will work
- hack 'super.clone()' in JVM intrinsics and TImpl delegation generation
- make arrays Cloneable, handle 'clone()' calls in the intrinsic

 #KT-4890 Fixed
2014-07-25 21:19:39 +04:00

48 lines
1.9 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<`T, E : kotlin.Cloneable></td>
<td style="white-space:nowrap;font-weight:bold;">(</td>
<td align="right" style="white-space:nowrap;font-weight:bold;">l: MyList<`in T>,</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<`in kotlin.Any></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<`in kotlin.Int></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<`kotlin.Int></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>