mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
compiler/add_foreign_proc.m:
Use the agreed wording *consistently* in the diagnostics
generated by this module.
Also, delete a call to the test for builtins that I recently
accidentally duplicated instead of just moving.
tests/invalid/foreign_proc_dup_var.err_exp:
tests/invalid/foreign_purity_mismatch.err_exp:
tests/invalid/fp_dup_bug.err_exp:
tests/invalid/pragma_qual_error.err_exp:
tests/warnings/foreign_singleton.err_exp:
tests/warnings/singleton_test.err_exp:
tests/warnings/warn_return.err_exp:
tests/warnings/warn_succ_ind.err_exp:
Expect the updated wording for all those diagnostics.
1.7 KiB
1.7 KiB
foreign_singleton.m:027: In the C foreign_proc for predicate `f'/3:
foreign_singleton.m:027: warning: variable `IO0' does not occur in the C
foreign_singleton.m:027: code.
foreign_singleton.m:033: In the Java foreign_proc for predicate `f'/3:
foreign_singleton.m:033: warning: variable `IO0' does not occur in the Java
foreign_singleton.m:033: code.
foreign_singleton.m:039: In the C# foreign_proc for predicate `f'/3:
foreign_singleton.m:039: warning: variable `IO0' does not occur in the C#
foreign_singleton.m:039: code.
foreign_singleton.m:046: In clause for predicate `f'/3:
foreign_singleton.m:046: warning: variable `X' occurs only once in this
foreign_singleton.m:046: scope.
foreign_singleton.m:050: In clause for predicate `g'/3:
foreign_singleton.m:050: warning: variable `X' occurs only once in this
foreign_singleton.m:050: scope.
foreign_singleton.m:052: In the C foreign_proc for predicate `g'/3:
foreign_singleton.m:052: warning: variable `IO0' does not occur in the C
foreign_singleton.m:052: code.
foreign_singleton.m:058: In the Java foreign_proc for predicate `g'/3:
foreign_singleton.m:058: warning: variable `IO0' does not occur in the Java
foreign_singleton.m:058: code.
foreign_singleton.m:064: In the C# foreign_proc for predicate `g'/3:
foreign_singleton.m:064: warning: variable `IO0' does not occur in the C#
foreign_singleton.m:064: code.
foreign_singleton.m:027: warning: variable `IO0' does not occur in the C
foreign_singleton.m:027: code.
foreign_singleton.m:033: In the Java foreign_proc for predicate `f'/3:
foreign_singleton.m:033: warning: variable `IO0' does not occur in the Java
foreign_singleton.m:033: code.
foreign_singleton.m:039: In the C# foreign_proc for predicate `f'/3:
foreign_singleton.m:039: warning: variable `IO0' does not occur in the C#
foreign_singleton.m:039: code.
foreign_singleton.m:046: In clause for predicate `f'/3:
foreign_singleton.m:046: warning: variable `X' occurs only once in this
foreign_singleton.m:046: scope.
foreign_singleton.m:050: In clause for predicate `g'/3:
foreign_singleton.m:050: warning: variable `X' occurs only once in this
foreign_singleton.m:050: scope.
foreign_singleton.m:052: In the C foreign_proc for predicate `g'/3:
foreign_singleton.m:052: warning: variable `IO0' does not occur in the C
foreign_singleton.m:052: code.
foreign_singleton.m:058: In the Java foreign_proc for predicate `g'/3:
foreign_singleton.m:058: warning: variable `IO0' does not occur in the Java
foreign_singleton.m:058: code.
foreign_singleton.m:064: In the C# foreign_proc for predicate `g'/3:
foreign_singleton.m:064: warning: variable `IO0' does not occur in the C#
foreign_singleton.m:064: code.