[m-rev.] for review: list more new options in NEWS file

Julien Fischer jfischer at opturion.com
Fri Jan 21 23:44:24 AEDT 2022



On Fri, 21 Jan 2022, Zoltan Somogyi wrote:

>
> 2022-01-21 23:18 GMT+11:00 "Julien Fischer" <jfischer at opturion.com>:
>>
>> For review by Zoltan.
>>
>> This adds all the new options since 20.06 that I could find based
>> on a diff of the 20.06 and ROTD usage messages.  There are two others.
>>
>> 1) --warn-potentially-ambiguous-pragma
>>
>> We probably need to say something more generally about the changes
>> to pragma syntax.  (The new option can be mentioned alongside that.)
>
> I will do that once you have committed this diff.
>
>> 2) --output-stdlib-module
>>
>> This is primarily for us and doesn't need to be documented.
>
> Agreed.
>
>> +* By default, the compiler now warns if a program contains a module whose
>> +  name shadows that of Mercury standard library module. The warning can
>> +  be disabled using the new option `--no-warn-stdlib-shadowing`.
>
> I would say "if the module being compiled has a name that shadows".
> You don't want to give the impression that you get this warning when
> compiling *other* modules in the same program.

Done.

Thanks for that.

Julien.


More information about the reviews mailing list