[m-rev.] for review: announce more new options

Julien Fischer jfischer at opturion.com
Wed Jan 8 14:20:17 AEDT 2020


For review by anyone.

Announce more new options.

NEWS:
    Announce --warn-insts-with-functors-without-type and
    --limit-error-contexts.

Julien.

diff --git a/NEWS b/NEWS
index c421480..04e4c5b 100644
--- a/NEWS
+++ b/NEWS
@@ -1044,6 +1044,11 @@ Changes to the Mercury compiler
    The option `--warn-inconsistent-pred-order` is a shorter synonym for
    `--warn-inconsistent-pred-order-clauses`.

+* `--warn-insts-with-functors-without-type`
+
+  This option asks the compiler to generate a warning for inst definitions
+  that specify functors but do not specify what type they are for.
+
  * `--warn-interface-imports-in-parents`

    This option asks the compiler to generate a warning for modules that are
@@ -1067,6 +1072,14 @@ Changes to the Mercury compiler
    This option asks the compiler to warn about possible errors in the bodies of
    `foreign_code` pragmas.

+### New verbosity options
+
+* `--limit-error-contexts`
+
+  This option asks the compiler the restrict the errors and warnings it prints
+  to those originating from a named file or files and/or a specified range of
+  line numbers.
+
  ### New link options

  * `--no-default-runtime-library-directory`


More information about the reviews mailing list