[m-rev.] for post-commit review: improve non tail rec warnings from MLDS

Zoltan Somogyi zoltan.somogyi at runbox.com
Thu Oct 12 01:07:36 AEDT 2017


For post commit review by anyone. The diff is with -b.

This implements (most of) what we agreed on on m-rev
about a month ago. I would be interested in people's opinions
on whether the new error message are specific enough,
or whether they should have more detailed info
(about *why* the callee cannot tail-call the caller).

Once I have finished a couple of other related diffs, I plan to add
an entry to NEWS about the MLDS backend now supporting
mutual tail recursion. Should the new option be announced
in NEWS then?


Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.tail_rec_warn
Type: application/octet-stream
Size: 3927 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20171012/658286a8/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.tail_rec_warn
Type: application/octet-stream
Size: 85768 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20171012/658286a8/attachment-0003.obj>


More information about the reviews mailing list