[m-rev.] trivial diff: avoid a warning in samples/rot13

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Sep 11 12:44:58 AEST 2006


On Mon, 11 Sep 2006, Ralph Becket wrote:

> Julien Fischer, Monday, 11 September 2006:
>>
>> Estimated hours taken: 0
>> Branches: main, release
>>
>> samples/rot13/rot13_ralph.m:
>> 	Avoid a warning about a variable having overlapping scopes.
>
> I hate that warning.  No other language with lambdas that I'm aware of
> thinks users can't understand local names shadowing outer-scope names.

You can always turn it off, e.g. --no-warn-overlapping-scopes.
(Perhaps it ought to be turned off by default?)

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list