Closed GoogleCodeExporter closed 9 years ago
Original comment by jthywissen
on 20 Jul 2012 at 2:10
Original comment by arthur.peters
on 29 Nov 2012 at 8:53
[deleted comment]
Fixed in r3124. The type checker has been enhanced to make an educated guess
when type parameters are missing and no minimal type is available. It will
guess the lower bound of the range, unless the lower bound is Bot, in which
case it will guess the upper bound. This should suffice for simple cases, such
as this one.
Original comment by dkitc...@gmail.com
on 5 Dec 2012 at 9:42
Note that the typechecker will also emit a warning when it makes such guesses,
since this situation is technically ambiguous according to the inference
algorithm, but it will no longer fail entirely.
Original comment by dkitc...@gmail.com
on 5 Dec 2012 at 9:46
Original issue reported on code.google.com by
jthywissen
on 16 Jul 2012 at 2:28