Files
mercury/tests/invalid/max_error_line_width.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

4.7 KiB

max_error_line_width.m:056: In clause for predicate `ambig_overload1'/1:
max_error_line_width.m:056: error: excessively ambiguous overloading.
max_error_line_width.m:056: This caused the type checker to exceed its limits. It may also make your code difficult to
max_error_line_width.m:056: understand.
max_error_line_width.m:056: The following symbol was overloaded in the following contexts.
max_error_line_width.m:054:
max_error_line_width.m:054: The function symbol `f'/0.
max_error_line_width.m:054: The possible matches are:
max_error_line_width.m:054: the builtin type constructor `character',
max_error_line_width.m:054: the type constructor `max_error_line_width.bar'/0,
max_error_line_width.m:054: the type constructor `max_error_line_width.foo'/0.
max_error_line_width.m:055: That symbol is also overloaded here.
max_error_line_width.m:056: Warning: the variable `L' is unified with a term containing itself.
max_error_line_width.m:059: In clause for predicate `ambig_overload2'/1:
max_error_line_width.m:059: warning: highly ambiguous overloading.
max_error_line_width.m:059: This may cause type-checking to be very slow. It may also make your code difficult to
max_error_line_width.m:059: understand.
max_error_line_width.m:059: The following symbols were overloaded in the following contexts.
max_error_line_width.m:059:
max_error_line_width.m:059: The function symbol `a1'/0.
max_error_line_width.m:059: The possible matches are:
max_error_line_width.m:059: the type constructor `max_error_line_width.baz'/0,
max_error_line_width.m:059: the type constructor `max_error_line_width.qux'/0.
max_error_line_width.m:059:
max_error_line_width.m:059: The function symbol `a2'/0.
max_error_line_width.m:059: The possible matches are:
max_error_line_width.m:059: the type constructor `max_error_line_width.baz'/0,
max_error_line_width.m:059: the type constructor `max_error_line_width.qux'/0.
max_error_line_width.m:113: In clause for predicate `test_lt'/1:
max_error_line_width.m:113: error: excessively ambiguous overloading.
max_error_line_width.m:113: This caused the type checker to exceed its limits. It may also make your code difficult to
max_error_line_width.m:113: understand.
max_error_line_width.m:113: The following symbol was overloaded in the following contexts.
max_error_line_width.m:064:
max_error_line_width.m:064: The function symbol `unchecked_left_shift'/2.
max_error_line_width.m:064: The possible matches are:
max_error_line_width.m:064: function `int.unchecked_left_shift'/2,
max_error_line_width.m:064: function `uint.unchecked_left_shift'/2.
max_error_line_width.m:065: That symbol is also overloaded here.
max_error_line_width.m:066: That symbol is also overloaded here.
max_error_line_width.m:067: That symbol is also overloaded here.
max_error_line_width.m:068: That symbol is also overloaded here.
max_error_line_width.m:069: That symbol is also overloaded here.
max_error_line_width.m:070: That symbol is also overloaded here.
max_error_line_width.m:071: That symbol is also overloaded here.
max_error_line_width.m:072: That symbol is also overloaded here.
max_error_line_width.m:073: That symbol is also overloaded here.
max_error_line_width.m:074: That symbol is also overloaded here.
max_error_line_width.m:075: That symbol is also overloaded here.
max_error_line_width.m:123: In clause for predicate `set_browser_param_from_option_table'/3:
max_error_line_width.m:123: warning: highly ambiguous overloading.
max_error_line_width.m:123: This may cause type-checking to be very slow. It may also make your code difficult to
max_error_line_width.m:123: understand.
max_error_line_width.m:123: The following symbol was overloaded in the following contexts.
max_error_line_width.m:118:
max_error_line_width.m:118: The function symbol `lookup_bool_option'/2.
max_error_line_width.m:118: The possible matches are:
max_error_line_width.m:118: predicate `getopt.lookup_bool_option'/3,
max_error_line_width.m:118: function `getopt.lookup_bool_option'/2.
max_error_line_width.m:119: That symbol is also overloaded here.
max_error_line_width.m:120: That symbol is also overloaded here.
max_error_line_width.m:121: That symbol is also overloaded here.
max_error_line_width.m:122: That symbol is also overloaded here.
max_error_line_width.m:123: That symbol is also overloaded here.