mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
compiler/format_call_errors.m:
As above.
compiler/pd_debug.m:
Delete a now-unneeded scope.
tests/invalid/string_format_unknown.err_exp:
tests/warnings/disabled_warning.err_exp:
tests/warnings/format_call_warning.err_exp:
Expect updated diagnostics.
3.5 KiB
3.5 KiB
string_format_unknown.m:023: Warning: unknown format string in call to function
string_format_unknown.m:023: `string.format'/2.
string_format_unknown.m:025: Error: the format string does not match the list
string_format_unknown.m:025: of values to be formatted in call to function
string_format_unknown.m:025: `string.format'/2.
string_format_unknown.m:025: The first conversion specifier uses the
string_format_unknown.m:025: specifier character `d', but the corresponding
string_format_unknown.m:025: input is a string.
string_format_unknown.m:025: The only specifier applicable to strings is
string_format_unknown.m:025: `%s'.
string_format_unknown.m:028: Error: the format string does not match the list
string_format_unknown.m:028: of values to be formatted in call to predicate
string_format_unknown.m:028: `io.format'/4.
string_format_unknown.m:028: The first conversion specifier uses the
string_format_unknown.m:028: specifier character `d', but the corresponding
string_format_unknown.m:028: input is a string.
string_format_unknown.m:028: The only specifier applicable to strings is
string_format_unknown.m:028: `%s'.
string_format_unknown.m:029: Error: the format string does not match the list
string_format_unknown.m:029: of values to be formatted in call to predicate
string_format_unknown.m:029: `io.format'/5.
string_format_unknown.m:029: The first conversion specifier uses the
string_format_unknown.m:029: specifier character `d', but the corresponding
string_format_unknown.m:029: input is a string.
string_format_unknown.m:029: The only specifier applicable to strings is
string_format_unknown.m:029: `%s'.
string_format_unknown.m:030: Error: the format string does not match the list
string_format_unknown.m:030: of values to be formatted in call to predicate
string_format_unknown.m:030: `io.format'/4.
string_format_unknown.m:030: The first conversion specifier uses the unknown
string_format_unknown.m:030: specifier character `w'.
string_format_unknown.m:040: Warning: unknown list of values to be formatted in
string_format_unknown.m:040: call to predicate `io.format'/5.
string_format_unknown.m:041: Warning: unknown list of values to be formatted in
string_format_unknown.m:041: call to predicate
string_format_unknown.m:041: `stream.string_writer.format'/5.
string_format_unknown.m:046: Error: the format string does not match the list
string_format_unknown.m:046: of values to be formatted in call to predicate
string_format_unknown.m:046: `io.format'/5.
string_format_unknown.m:046: The first conversion specifier uses the
string_format_unknown.m:046: specifier character `d', but the corresponding
string_format_unknown.m:046: input is a float.
string_format_unknown.m:046: The specifiers applicable to floats are `%f',
string_format_unknown.m:046: `%e', `%E', `%g' and `%G'.
string_format_unknown.m:023: `string.format'/2.
string_format_unknown.m:025: Error: the format string does not match the list
string_format_unknown.m:025: of values to be formatted in call to function
string_format_unknown.m:025: `string.format'/2.
string_format_unknown.m:025: The first conversion specifier uses the
string_format_unknown.m:025: specifier character `d', but the corresponding
string_format_unknown.m:025: input is a string.
string_format_unknown.m:025: The only specifier applicable to strings is
string_format_unknown.m:025: `%s'.
string_format_unknown.m:028: Error: the format string does not match the list
string_format_unknown.m:028: of values to be formatted in call to predicate
string_format_unknown.m:028: `io.format'/4.
string_format_unknown.m:028: The first conversion specifier uses the
string_format_unknown.m:028: specifier character `d', but the corresponding
string_format_unknown.m:028: input is a string.
string_format_unknown.m:028: The only specifier applicable to strings is
string_format_unknown.m:028: `%s'.
string_format_unknown.m:029: Error: the format string does not match the list
string_format_unknown.m:029: of values to be formatted in call to predicate
string_format_unknown.m:029: `io.format'/5.
string_format_unknown.m:029: The first conversion specifier uses the
string_format_unknown.m:029: specifier character `d', but the corresponding
string_format_unknown.m:029: input is a string.
string_format_unknown.m:029: The only specifier applicable to strings is
string_format_unknown.m:029: `%s'.
string_format_unknown.m:030: Error: the format string does not match the list
string_format_unknown.m:030: of values to be formatted in call to predicate
string_format_unknown.m:030: `io.format'/4.
string_format_unknown.m:030: The first conversion specifier uses the unknown
string_format_unknown.m:030: specifier character `w'.
string_format_unknown.m:040: Warning: unknown list of values to be formatted in
string_format_unknown.m:040: call to predicate `io.format'/5.
string_format_unknown.m:041: Warning: unknown list of values to be formatted in
string_format_unknown.m:041: call to predicate
string_format_unknown.m:041: `stream.string_writer.format'/5.
string_format_unknown.m:046: Error: the format string does not match the list
string_format_unknown.m:046: of values to be formatted in call to predicate
string_format_unknown.m:046: `io.format'/5.
string_format_unknown.m:046: The first conversion specifier uses the
string_format_unknown.m:046: specifier character `d', but the corresponding
string_format_unknown.m:046: input is a float.
string_format_unknown.m:046: The specifiers applicable to floats are `%f',
string_format_unknown.m:046: `%e', `%E', `%g' and `%G'.