Files
mercury/tests/warnings/ambiguous_overloading.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.2 KiB

ambiguous_overloading.m:045: Warning: this `:- import_module' declaration for
ambiguous_overloading.m:045: module `float' is out of order with respect to
ambiguous_overloading.m:045: the preceding `:- import_module' declaration for
ambiguous_overloading.m:045: module `int'.
ambiguous_overloading.m:048: In clause for predicate `ambig_overload1'/1:
ambiguous_overloading.m:048: warning: highly ambiguous overloading.
ambiguous_overloading.m:048: The following symbol was overloaded in the
ambiguous_overloading.m:048: following context.
ambiguous_overloading.m:048:
ambiguous_overloading.m:048: The function symbol `f'/0.
ambiguous_overloading.m:048: The possible matches are:
ambiguous_overloading.m:048: the builtin type constructor `character',
ambiguous_overloading.m:048: the type constructor
ambiguous_overloading.m:048: `ambiguous_overloading.bar'/0,
ambiguous_overloading.m:048: the type constructor
ambiguous_overloading.m:048: `ambiguous_overloading.foo'/0.
ambiguous_overloading.m:052: In clause for predicate `ambig_overload2'/1:
ambiguous_overloading.m:052: warning: highly ambiguous overloading.
ambiguous_overloading.m:052: The following symbols were overloaded in the
ambiguous_overloading.m:052: following contexts.
ambiguous_overloading.m:052:
ambiguous_overloading.m:052: The function symbol `a1'/0.
ambiguous_overloading.m:052: The possible matches are:
ambiguous_overloading.m:052: the type constructor
ambiguous_overloading.m:052: `ambiguous_overloading.baz'/0,
ambiguous_overloading.m:052: the type constructor
ambiguous_overloading.m:052: `ambiguous_overloading.qux'/0.
ambiguous_overloading.m:052:
ambiguous_overloading.m:052: The function symbol `a2'/0.
ambiguous_overloading.m:052: The possible matches are:
ambiguous_overloading.m:052: the type constructor
ambiguous_overloading.m:052: `ambiguous_overloading.baz'/0,
ambiguous_overloading.m:052: the type constructor
ambiguous_overloading.m:052: `ambiguous_overloading.qux'/0.
ambiguous_overloading.m:063: In clause for predicate `test_lt'/1:
ambiguous_overloading.m:063: warning: highly ambiguous overloading.
ambiguous_overloading.m:063: The following symbol was overloaded in the
ambiguous_overloading.m:063: following contexts.
ambiguous_overloading.m:057:
ambiguous_overloading.m:057: The predicate symbol `<'/2.
ambiguous_overloading.m:057: The possible matches are:
ambiguous_overloading.m:057: predicate `float.<'/2,
ambiguous_overloading.m:057: predicate `int.<'/2.
ambiguous_overloading.m:058: That symbol is also overloaded here.
ambiguous_overloading.m:059: That symbol is also overloaded here.
ambiguous_overloading.m:060: That symbol is also overloaded here.
ambiguous_overloading.m:061: That symbol is also overloaded here.
ambiguous_overloading.m:062: That symbol is also overloaded here.
ambiguous_overloading.m:084: In clause for predicate
ambiguous_overloading.m:084: `set_browser_param_from_option_table'/3:
ambiguous_overloading.m:084: warning: highly ambiguous overloading.
ambiguous_overloading.m:084: The following symbol was overloaded in the
ambiguous_overloading.m:084: following contexts.
ambiguous_overloading.m:079:
ambiguous_overloading.m:079: The function symbol `lookup_bool_option'/2.
ambiguous_overloading.m:079: The possible matches are:
ambiguous_overloading.m:079: predicate `getopt.lookup_bool_option'/3,
ambiguous_overloading.m:079: function `getopt.lookup_bool_option'/2.
ambiguous_overloading.m:080: That symbol is also overloaded here.
ambiguous_overloading.m:081: That symbol is also overloaded here.
ambiguous_overloading.m:082: That symbol is also overloaded here.
ambiguous_overloading.m:083: That symbol is also overloaded here.
ambiguous_overloading.m:084: That symbol is also overloaded here.
For more information, recompile with `-E'.