Files
mercury/tests/invalid_nodepend/specified.err_exp
Zoltan Somogyi 1b61fd5c5a More tweaks to the text of diagnostics.
compiler/add_pragma.m:
    When reporting duplicate require_tail_rec pragmas, specify whether
    it is for a whole predicate, or just for one of its modes.

compiler/parse_type_name.m:
    Don't just report an "ill-formed type": report exactly what is wrong
    with it.

compiler/add_pragma_tabling.m:
compiler/convert_parse_tree.m:
compiler/det_report.m:
compiler/parse_pragma_tabling.m:
    Fix the wording of some diagnostics.

library/mercury_term_lexer.m:
    Fix the wording of a diagnostic.

tests/invalid_nodepend/Mmakefile:
    Reenable two test cases that were accidentally left out
    when they were moved here from tests/invalid.

tests/invalid_nodepend/fundeps_vars.err_exp:
tests/invalid_nodepend/instance_bug.err_exp:
tests/invalid_nodepend/invalid_main.err_exp:
tests/invalid_nodepend/kind.err_exp:
tests/invalid_nodepend/null_char.err_exp:
tests/invalid_nodepend/require_tailrec_invalid.err_exp:
tests/invalid_nodepend/reserved_type_name.m:
tests/invalid_nodepend/specified.err_exp:
    Expect updated diagnostics.
2024-06-03 23:24:25 +10:00

1.7 KiB

specified.m:141: Error in `:- pragma memo' declaration for predicate
specified.m:141: `specified.ap_lp_fib'/3:
specified.m:141: in argument 3: argument tabling method `addr' is not
specified.m:141: compatible with output modes.
specified.m:158: In the second argument of `:- pragma memo' declaration:
specified.m:158: in the first argument of `specified':
specified.m:158: error: expected one of `value', `addr', `promise_implied',
specified.m:158: and `output', got `implied'.
specified.m:173: Error in `:- pragma memo' declaration for predicate
specified.m:173: `specified.ap_li_fib'/3:
specified.m:173: not enough argument tabling methods specified.
specified.m:213: Error in `:- pragma memo' declaration for predicate
specified.m:213: `specified.vp_ll_fib'/3:
specified.m:213: in argument 1: argument tabling method `output' is not
specified.m:213: compatible with input modes.
specified.m:233: Error in `:- pragma memo' declaration for predicate
specified.m:233: `specified.vv_ll_fib'/3:
specified.m:233: too many argument tabling methods specified.
specified.m:277: In the second argument of `:- pragma memo' declaration:
specified.m:277: error: `specified' must have one or two arguments.
specified.m:285: In the second argument of `:- pragma memo' declaration:
specified.m:285: in the second argument of `specified':
specified.m:285: error: expected either `hidden_arg_value' or
specified.m:285: `hidden_arg_addr', got `voodoo'.