[m-dev.] tightening up require_complete_switch
Zoltan Somogyi
zoltan.somogyi at runbox.com
Wed Apr 20 12:32:28 AEST 2016
On Tue, 19 Apr 2016 12:07:06 +1000 (AEST), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> We could in future even use the
> variable name in the scope to control switch detection, by checking
> whether the disjunction it is given is a switch on the named variable
> *before* checking to see if it is a switch on any other variables.
> (In fact, I think this should be easy to implement.)
And I have now implemented and committed it. Without this change,
the new test case in the attached diff wouldn't pass.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.req_var
Type: application/octet-stream
Size: 1403 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/developers/attachments/20160420/ac788a7e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.req_var
Type: application/octet-stream
Size: 13121 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/developers/attachments/20160420/ac788a7e/attachment-0001.obj>
More information about the developers
mailing list