Files
mercury/tests/invalid/not_a_switch.err_exp
Zoltan Somogyi c53f9ab46e Don't output lines that end with a space.
compiler/write_error_spec.m:
    When error_specs include blank lines, we used to output lines
    of the form "filename:linenumber: ". Stop generating the final space.

compiler/parse_tree_out_misc.m:
    Add a new version of an existing function.

tests/invalid/actual_more_expected.err_exp:
tests/invalid/ambiguous_overloading_error.err_exp:
tests/invalid/any_passed_as_ground.err_exp:
tests/invalid/anys_in_negated_contexts.err_exp:
tests/invalid/bad_ambiguity_msg.err_exp:
tests/invalid/bug150.err_exp:
tests/invalid/bug150_partial_color.err_exp:
tests/invalid/bug496.err_exp:
tests/invalid/det_atomic_goal_msgs.err_exp:
tests/invalid/det_errors.err_exp:
tests/invalid/det_errors_and_io.err_exp:
tests/invalid/det_errors_deep.err_exp:
tests/invalid/ho_default_func_1.err_exp:
tests/invalid/ho_default_func_3.err_exp:
tests/invalid/ho_default_func_4.err_exp:
tests/invalid/ho_type_mode_bug.err_exp:
tests/invalid/magicbox.err_exp:
tests/invalid/max_error_line_width.err_exp:
tests/invalid/mode_inf.err_exp:
tests/invalid/modes_erroneous.err_exp:
tests/invalid/no_ho_inst.err_exp:
tests/invalid/not_a_switch.err_exp:
tests/invalid/state_vars_test_1.err_exp:
tests/invalid/try_detism.err_exp:
tests/invalid/user_field_access_decl_override_1.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/warnings/ambiguous_overloading.err_exp:
tests/warnings/inconsistent_pred_order.err_exp:
tests/warnings/subtype_order.err_exp:
tests/warnings/test_tscp.err_exp:
    Stop expecting a final space.
2025-09-15 06:28:07 +10:00

878 B

not_a_switch.m:014: Error: the determinism declaration for predicate
not_a_switch.m:014: `not_a_switch'/2 is not satisfied.
not_a_switch.m:014: Declared `det', inferred `nondet'.
not_a_switch.m:014: The reasons for the difference are the following.
not_a_switch.m:019:
not_a_switch.m:019: Disjunction has more than one disjunct with solutions.
not_a_switch.m:022:
not_a_switch.m:022: This later disjunct may have a solution.
not_a_switch.m:021:
not_a_switch.m:021: Unification of `A' and `maybe.yes(Int2)' can fail.
not_a_switch.m:022:
not_a_switch.m:022: In argument 1 of clause head:
not_a_switch.m:022: unification of `HeadVar__1' and `maybe.no' can fail.