render type correctly in html for TYPE_INFERENCE_UPPER_BOUND_VIOLATED error
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!-- upperBoundViolated1 -->
|
||||
<html>
|
||||
Type parameter bound for <b>
|
||||
T</b>
|
||||
in <table>
|
||||
<tr>
|
||||
<td width="10%">
|
||||
</td>
|
||||
<td align="right" colspan="2" style="white-space:nowrap;font-weight:bold;">
|
||||
<b>
|
||||
fun</b>
|
||||
<R, T : jet.List<R>>
|
||||
foo</td>
|
||||
<td style="white-space:nowrap;font-weight:bold;">
|
||||
(</td>
|
||||
<td align="right" style="white-space:nowrap;font-weight:bold;">
|
||||
r : R,</td>
|
||||
<td align="right" style="white-space:nowrap;font-weight:bold;">
|
||||
list : T</td>
|
||||
<td style="white-space:nowrap;font-weight:bold;">
|
||||
)</td>
|
||||
<td style="white-space:nowrap;font-weight:bold;">
|
||||
: Unit</td>
|
||||
</tr>
|
||||
</table>
|
||||
is not satisfied: inferred type <font color=red>
|
||||
<b>
|
||||
jet.Collection<jet.Int></b>
|
||||
</font>
|
||||
is not a subtype of <b>
|
||||
jet.List<jet.Int></b>
|
||||
</html>
|
||||
Reference in New Issue
Block a user