mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 15:24:00 +00:00
Estimated hours taken: 1
compiler/make_hlds.m:
Fix a few places where it was treating functions as if they
were predicates in some of the error and warning messages.
Also change a few of the messages slightly for consistency
with other messages.
tests/warnings/Mmake:
tests/warnings/pragma_c_code_unused_var.m:
tests/warnings/pragma_c_code_unused_var.exp:
tests/warnings/singleton_test.m:
tests/warnings/singleton_test.exp:
Add some test cases for singleton warnings in functions.
Move the test in pragma_c_code_unused_var.m into
singleton_test.m and remove pragma_c_code_unused_var.m.
tests/warnings/double_underscore.exp:
tests/warnings/pragma_source_file.exp:
s/Warning/warning/g
5 lines
322 B
Plaintext
5 lines
322 B
Plaintext
double_underscore.m:011: In clause for predicate `double_underscore:p/2':
|
|
double_underscore.m:011: warning: variable `_X' occurs more than once in this scope.
|
|
double_underscore.m:011: In clause for predicate `double_underscore:p/2':
|
|
double_underscore.m:011: warning: variable `_X' occurs more than once in this scope.
|