[m-rev.] for post-commit review: better error messages for arg type errors

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Dec 31 18:53:50 AEDT 2014


On Wed, 31 Dec 2014 16:56:17 +1100 (EST), "Zoltan Somogyi" <
> > "whose possible the actual"  I don't know what you mean.
> 
> I meant "whose possible actual types". Will fix.

This is that fix.

> (Note that in the presence of type errors, we don't know what the type
> of a variable IS; we only know what it MAY BE.

> > Should this be in the other file with subsumes_type?

It also improves some code that deals with the type subsumption
predicate referenced here.

Zoltan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.type_subsumes
Type: application/octet-stream
Size: 272 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20141231/cd0b09e9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.type_subsumes
Type: application/octet-stream
Size: 6412 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20141231/cd0b09e9/attachment-0001.obj>


More information about the reviews mailing list