mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
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.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
% vim: ft=mercury ts=4 sw=4 et
|
||||
%---------------------------------------------------------------------------%
|
||||
% Copyright (C) 1994-2012 The University of Melbourne.
|
||||
% Copyright (C) 2014-2018, 2023-2024 The Mercury team.
|
||||
% Copyright (C) 2014-2018, 2023-2025 The Mercury team.
|
||||
% This file may only be copied under the terms of the GNU General
|
||||
% Public License - see the file COPYING in the Mercury distribution.
|
||||
%---------------------------------------------------------------------------%
|
||||
@@ -115,6 +115,7 @@
|
||||
% (at the moment, just the line number) in a form suitable for the
|
||||
% beginning of an error message.
|
||||
%
|
||||
:- func no_space_context_to_string(prog_context) = string.
|
||||
:- func context_to_string(prog_context) = string.
|
||||
:- pred write_context(io.text_output_stream::in, prog_context::in,
|
||||
io::di, io::uo) is det.
|
||||
@@ -345,9 +346,16 @@ mercury_format_foreign_language_string(Lang, S, !U) :-
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
no_space_context_to_string(Context) = ContextStr :-
|
||||
Context = context(FileName, LineNumber),
|
||||
( if FileName = "" then
|
||||
ContextStr = ""
|
||||
else
|
||||
string.format("%s:%03d:", [s(FileName), i(LineNumber)], ContextStr)
|
||||
).
|
||||
|
||||
context_to_string(Context) = ContextStr :-
|
||||
FileName = term_context.context_file(Context),
|
||||
LineNumber = term_context.context_line(Context),
|
||||
Context = context(FileName, LineNumber),
|
||||
( if FileName = "" then
|
||||
ContextStr = ""
|
||||
else
|
||||
|
||||
@@ -637,15 +637,17 @@ write_msg_pieces(Stream, ColorDb, MaybeMaxWidth, MsgPieces, !IO) :-
|
||||
(
|
||||
MaybeContext = yes(Context),
|
||||
% ContextStr will include a space after the context itself.
|
||||
ContextStr = context_to_string(Context)
|
||||
ContextStr = context_to_string(Context),
|
||||
NoSpaceContextStr = no_space_context_to_string(Context)
|
||||
;
|
||||
MaybeContext = no,
|
||||
ContextStr = ""
|
||||
ContextStr = "",
|
||||
NoSpaceContextStr = ""
|
||||
),
|
||||
Pieces = one_or_more_to_list(OoMPieces),
|
||||
convert_pieces_to_lines(ColorDb, MaybeMaxWidth, ContextStr,
|
||||
TreatAsFirst, Indent, Pieces, PrefixStr, Lines),
|
||||
write_msg_lines(Stream, PrefixStr, Lines, !IO).
|
||||
convert_pieces_to_lines(ColorDb, MaybeMaxWidth, ContextStr, TreatAsFirst,
|
||||
Indent, Pieces, PrefixStr, Lines),
|
||||
write_msg_lines(Stream, PrefixStr, NoSpaceContextStr, Lines, !IO).
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
%
|
||||
@@ -2254,22 +2256,24 @@ error_line_len(Line) = LineLen :-
|
||||
|
||||
%---------------------%
|
||||
|
||||
:- pred write_msg_lines(io.text_output_stream::in, string::in,
|
||||
:- pred write_msg_lines(io.text_output_stream::in, string::in, string::in,
|
||||
list(error_line)::in, io::di, io::uo) is det.
|
||||
|
||||
write_msg_lines(_Stream, _, [], !IO).
|
||||
write_msg_lines(Stream, PrefixStr, [Line | Lines], !IO) :-
|
||||
write_msg_line(Stream, PrefixStr, Line, !IO),
|
||||
write_msg_lines(Stream, PrefixStr, Lines, !IO).
|
||||
write_msg_lines(_Stream, _, _, [], !IO).
|
||||
write_msg_lines(Stream, PrefixStr, NoSpaceContextStr, [Line | Lines], !IO) :-
|
||||
write_msg_line(Stream, PrefixStr, NoSpaceContextStr, Line, !IO),
|
||||
write_msg_lines(Stream, PrefixStr, NoSpaceContextStr, Lines, !IO).
|
||||
|
||||
:- pred write_msg_line(io.text_output_stream::in, string::in, error_line::in,
|
||||
io::di, io::uo) is det.
|
||||
:- pred write_msg_line(io.text_output_stream::in, string::in, string::in,
|
||||
error_line::in, io::di, io::uo) is det.
|
||||
|
||||
write_msg_line(Stream, PrefixStr, Line, !IO) :-
|
||||
write_msg_line(Stream, PrefixStr, NoSpaceContextStr, Line, !IO) :-
|
||||
LineWordsStr = convert_line_words_to_string(Line),
|
||||
( if LineWordsStr = "" then
|
||||
% Don't bother to print out indents that are followed by nothing.
|
||||
io.format(Stream, "%s\n", [s(PrefixStr)], !IO)
|
||||
% This includes the single space indent that is always included
|
||||
% at the end of any PrefixStr that is not the empty string.
|
||||
io.format(Stream, "%s\n", [s(NoSpaceContextStr)], !IO)
|
||||
else
|
||||
LineIndent = Line ^ line_indent_level,
|
||||
IndentStr = indent2_string(LineIndent),
|
||||
|
||||
@@ -14,7 +14,7 @@ actual_more_expected.m:029: D_4: list.list(actual_more_expected.dir)
|
||||
actual_more_expected.m:029: S_5: int
|
||||
actual_more_expected.m:029: F_6: int
|
||||
actual_more_expected.m:029: V_7: pred(int, actual_more_expected.dir, int)
|
||||
actual_more_expected.m:029:
|
||||
actual_more_expected.m:029:
|
||||
actual_more_expected.m:029: Type assignment 2, derived from predicate
|
||||
actual_more_expected.m:029: `list.foldl'/4:
|
||||
actual_more_expected.m:029: D_4: list.list(actual_more_expected.dir)
|
||||
|
||||
@@ -7,7 +7,7 @@ ambiguous_overloading_error.m:059: In clause for predicate `ambig_overload1'/1:
|
||||
ambiguous_overloading_error.m:059: error: excessively ambiguous overloading.
|
||||
ambiguous_overloading_error.m:059: The following symbol was overloaded in the
|
||||
ambiguous_overloading_error.m:059: following contexts.
|
||||
ambiguous_overloading_error.m:057:
|
||||
ambiguous_overloading_error.m:057:
|
||||
ambiguous_overloading_error.m:057: The function symbol [38;5;87m`f'/0.[39;49m
|
||||
ambiguous_overloading_error.m:057: The possible matches are:
|
||||
ambiguous_overloading_error.m:057: the builtin type constructor
|
||||
@@ -23,14 +23,14 @@ ambiguous_overloading_error.m:062: In clause for predicate `ambig_overload2'/1:
|
||||
ambiguous_overloading_error.m:062: warning: highly ambiguous overloading.
|
||||
ambiguous_overloading_error.m:062: The following symbols were overloaded in
|
||||
ambiguous_overloading_error.m:062: the following contexts.
|
||||
ambiguous_overloading_error.m:062:
|
||||
ambiguous_overloading_error.m:062:
|
||||
ambiguous_overloading_error.m:062: The function symbol [38;5;87m`a1'/0.[39;49m
|
||||
ambiguous_overloading_error.m:062: The possible matches are:
|
||||
ambiguous_overloading_error.m:062: the type constructor
|
||||
ambiguous_overloading_error.m:062: [38;5;226m`ambiguous_overloading_error.baz'/0,[39;49m
|
||||
ambiguous_overloading_error.m:062: the type constructor
|
||||
ambiguous_overloading_error.m:062: [38;5;226m`ambiguous_overloading_error.qux'/0.[39;49m
|
||||
ambiguous_overloading_error.m:062:
|
||||
ambiguous_overloading_error.m:062:
|
||||
ambiguous_overloading_error.m:062: The function symbol [38;5;87m`a2'/0.[39;49m
|
||||
ambiguous_overloading_error.m:062: The possible matches are:
|
||||
ambiguous_overloading_error.m:062: the type constructor
|
||||
@@ -41,7 +41,7 @@ ambiguous_overloading_error.m:116: In clause for predicate `test_lt'/1:
|
||||
ambiguous_overloading_error.m:116: error: excessively ambiguous overloading.
|
||||
ambiguous_overloading_error.m:116: The following symbol was overloaded in the
|
||||
ambiguous_overloading_error.m:116: following contexts.
|
||||
ambiguous_overloading_error.m:067:
|
||||
ambiguous_overloading_error.m:067:
|
||||
ambiguous_overloading_error.m:067: The predicate symbol [38;5;87m`<'/2.[39;49m
|
||||
ambiguous_overloading_error.m:067: The possible matches are:
|
||||
ambiguous_overloading_error.m:067: predicate [38;5;226m`float.<'/2,[39;49m
|
||||
@@ -62,7 +62,7 @@ ambiguous_overloading_error.m:126: `set_browser_param_from_option_table'/3:
|
||||
ambiguous_overloading_error.m:126: warning: highly ambiguous overloading.
|
||||
ambiguous_overloading_error.m:126: The following symbol was overloaded in the
|
||||
ambiguous_overloading_error.m:126: following contexts.
|
||||
ambiguous_overloading_error.m:121:
|
||||
ambiguous_overloading_error.m:121:
|
||||
ambiguous_overloading_error.m:121: The function symbol
|
||||
ambiguous_overloading_error.m:121: [38;5;87m`lookup_bool_option'/2.[39;49m
|
||||
ambiguous_overloading_error.m:121: The possible matches are:
|
||||
|
||||
@@ -3,7 +3,7 @@ any_passed_as_ground.m:029: in call to predicate `list.member'/2:
|
||||
any_passed_as_ground.m:029: mode error: the insts of arguments [38;5;87m`V_10'[39;49m and
|
||||
any_passed_as_ground.m:029: [38;5;87m`Xs'[39;49m [38;5;203mdo not match[39;49m either of the two modes of
|
||||
any_passed_as_ground.m:029: predicate `list.member'/2.
|
||||
any_passed_as_ground.m:029:
|
||||
any_passed_as_ground.m:029:
|
||||
any_passed_as_ground.m:029: The inst of the second argument, [38;5;87m`Xs'[39;49m, which is
|
||||
any_passed_as_ground.m:029: [38;5;203m`any',[39;49m does not match any of the required
|
||||
any_passed_as_ground.m:029: insts.
|
||||
|
||||
@@ -12,7 +12,7 @@ anys_in_negated_contexts.m:083: In clause for `bad_lambda(in)':
|
||||
anys_in_negated_contexts.m:083: mode error in conjunction. The next two error
|
||||
anys_in_negated_contexts.m:083: messages indicate possible causes of this
|
||||
anys_in_negated_contexts.m:083: error.
|
||||
anys_in_negated_contexts.m:083:
|
||||
anys_in_negated_contexts.m:083:
|
||||
anys_in_negated_contexts.m:082: In clause for `bad_lambda(in)':
|
||||
anys_in_negated_contexts.m:082: purity error: lambda is `ground' but contains
|
||||
anys_in_negated_contexts.m:082: the following non-local variable whose inst
|
||||
@@ -22,7 +22,7 @@ anys_in_negated_contexts.m:082: written `any_pred(Args) is det :- ...'.
|
||||
anys_in_negated_contexts.m:082: Function expressions with inst `any' can be
|
||||
anys_in_negated_contexts.m:082: written
|
||||
anys_in_negated_contexts.m:082: `any_func(Args) = Result is det :- ...'.
|
||||
anys_in_negated_contexts.m:083:
|
||||
anys_in_negated_contexts.m:083:
|
||||
anys_in_negated_contexts.m:083: In clause for `bad_lambda(in)':
|
||||
anys_in_negated_contexts.m:083: in the predicate term of the higher order
|
||||
anys_in_negated_contexts.m:083: call to the predicate variable `P':
|
||||
|
||||
@@ -2,7 +2,7 @@ bad_ambiguity_msg.m:035: In clause for predicate `main'/2:
|
||||
bad_ambiguity_msg.m:035: warning: highly ambiguous overloading.
|
||||
bad_ambiguity_msg.m:035: The following symbol was overloaded in the following
|
||||
bad_ambiguity_msg.m:035: context.
|
||||
bad_ambiguity_msg.m:038:
|
||||
bad_ambiguity_msg.m:038:
|
||||
bad_ambiguity_msg.m:038: The predicate symbol [38;5;87m`append'/3.[39;49m
|
||||
bad_ambiguity_msg.m:038: The possible matches are:
|
||||
bad_ambiguity_msg.m:038: predicate [38;5;226m`bad_ambiguity_msg.append'/3,[39;49m
|
||||
|
||||
@@ -2,6 +2,6 @@ bug150.m:014: Error: the implicit determinism declaration for function [38;5;87
|
||||
bug150.m:014: [38;5;203mis not satisfied.[39;49m
|
||||
bug150.m:014: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
bug150.m:014: The reason for the difference is the following.
|
||||
bug150.m:018:
|
||||
bug150.m:018:
|
||||
bug150.m:018: In argument 1 of clause head:
|
||||
bug150.m:018: unification of [38;5;87m`HeadVar__1'[39;49m and [38;5;87m`list.[H | _T]'[39;49m [38;5;203mcan fail.[39;49m
|
||||
|
||||
@@ -2,7 +2,7 @@ bug150_partial_color.m:014: Error: the implicit determinism declaration for
|
||||
bug150_partial_color.m:014: function `car'/1 [38;5;203mis not satisfied.[39;49m
|
||||
bug150_partial_color.m:014: Declared `det', inferred [38;5;203m`semidet'.[39;49m
|
||||
bug150_partial_color.m:014: The reason for the difference is the following.
|
||||
bug150_partial_color.m:018:
|
||||
bug150_partial_color.m:018:
|
||||
bug150_partial_color.m:018: In argument 1 of clause head:
|
||||
bug150_partial_color.m:018: unification of `HeadVar__1' and `list.[H | _T]'
|
||||
bug150_partial_color.m:018: [38;5;203mcan fail.[39;49m
|
||||
|
||||
@@ -2,18 +2,18 @@ bug496.m:022: Error: the determinism declaration for predicate
|
||||
bug496.m:022: [38;5;87m`options_to_action'/3[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
bug496.m:022: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`nondet'.[39;49m
|
||||
bug496.m:022: The reasons for the difference are the following.
|
||||
bug496.m:050:
|
||||
bug496.m:050:
|
||||
bug496.m:050: Inside the case [|]/2 of the switch on AllActions:
|
||||
bug496.m:050: disjunction has more than one disjunct with solutions.
|
||||
bug496.m:053:
|
||||
bug496.m:053:
|
||||
bug496.m:053: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
bug496.m:050:
|
||||
bug496.m:050:
|
||||
bug496.m:050: In argument 2 of functor `[|]/2':
|
||||
bug496.m:050: unification with [38;5;87m`list.[]'[39;49m [38;5;203mcan fail.[39;49m
|
||||
bug496.m:053:
|
||||
bug496.m:053:
|
||||
bug496.m:053: In argument 2 of functor `[|]/2':
|
||||
bug496.m:053: unification with [38;5;87m`list.[V_11 | V_12]'[39;49m [38;5;203mcan fail.[39;49m
|
||||
bug496.m:050:
|
||||
bug496.m:050:
|
||||
bug496.m:050: It is possible that the cause of the declared determinism not
|
||||
bug496.m:050: being satisfied is the inability of determinism analysis to
|
||||
bug496.m:050: recognize that a disjunction (usually created by the compiler
|
||||
|
||||
@@ -2,21 +2,21 @@ det_atomic_goal_msgs.m:011: Error: the determinism declaration for predicate
|
||||
det_atomic_goal_msgs.m:011: [38;5;87m`det_calls_failure'/2[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
det_atomic_goal_msgs.m:011: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`failure'.[39;49m
|
||||
det_atomic_goal_msgs.m:011: The reason for the difference is the following.
|
||||
det_atomic_goal_msgs.m:018:
|
||||
det_atomic_goal_msgs.m:018:
|
||||
det_atomic_goal_msgs.m:018: This call to predicate
|
||||
det_atomic_goal_msgs.m:018: [38;5;87m`det_atomic_goal_msgs.failure_pred'/1[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_atomic_goal_msgs.m:012: Error: the determinism declaration for predicate
|
||||
det_atomic_goal_msgs.m:012: [38;5;87m`det_calls_semidet'/2[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
det_atomic_goal_msgs.m:012: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_atomic_goal_msgs.m:012: The reason for the difference is the following.
|
||||
det_atomic_goal_msgs.m:019:
|
||||
det_atomic_goal_msgs.m:019:
|
||||
det_atomic_goal_msgs.m:019: This call to predicate
|
||||
det_atomic_goal_msgs.m:019: [38;5;87m`det_atomic_goal_msgs.semidet_pred'/1[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_atomic_goal_msgs.m:013: Error: the determinism declaration for predicate
|
||||
det_atomic_goal_msgs.m:013: [38;5;87m`det_calls_multi'/1[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
det_atomic_goal_msgs.m:013: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`multi'.[39;49m
|
||||
det_atomic_goal_msgs.m:013: The reason for the difference is the following.
|
||||
det_atomic_goal_msgs.m:020:
|
||||
det_atomic_goal_msgs.m:020:
|
||||
det_atomic_goal_msgs.m:020: This call to predicate
|
||||
det_atomic_goal_msgs.m:020: [38;5;87m`det_atomic_goal_msgs.multi_pred'/1[39;49m [38;5;203mcan succeed[39;49m
|
||||
det_atomic_goal_msgs.m:020: [38;5;203mmore than once.[39;49m
|
||||
@@ -24,7 +24,7 @@ det_atomic_goal_msgs.m:014: Error: the determinism declaration for predicate
|
||||
det_atomic_goal_msgs.m:014: [38;5;87m`det_calls_nondet'/2[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
det_atomic_goal_msgs.m:014: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`nondet'.[39;49m
|
||||
det_atomic_goal_msgs.m:014: The reason for the difference is the following.
|
||||
det_atomic_goal_msgs.m:021:
|
||||
det_atomic_goal_msgs.m:021:
|
||||
det_atomic_goal_msgs.m:021: This call to predicate
|
||||
det_atomic_goal_msgs.m:021: [38;5;87m`det_atomic_goal_msgs.nondet_pred'/2[39;49m [38;5;203mcan fail[39;49m and
|
||||
det_atomic_goal_msgs.m:021: [38;5;203mcan succeed more than once.[39;49m
|
||||
|
||||
@@ -2,33 +2,33 @@ det_errors.m:009: Error: the determinism declaration for predicate [38;5;87m`p1
|
||||
det_errors.m:009: [38;5;203mnot satisfied.[39;49m
|
||||
det_errors.m:009: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors.m:009: The reason for the difference is the following.
|
||||
det_errors.m:042:
|
||||
det_errors.m:042:
|
||||
det_errors.m:042: In argument 1 of clause head:
|
||||
det_errors.m:042: unification of [38;5;87m`HeadVar__1'[39;49m and [38;5;87m`42'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors.m:010: Error: the determinism declaration for predicate [38;5;87m`p2'/1[39;49m [38;5;203mis[39;49m
|
||||
det_errors.m:010: [38;5;203mnot satisfied.[39;49m
|
||||
det_errors.m:010: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors.m:010: The reason for the difference is the following.
|
||||
det_errors.m:043:
|
||||
det_errors.m:043:
|
||||
det_errors.m:043: Unification of [38;5;87m`X'[39;49m and [38;5;87m`42'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors.m:011: Error: the determinism declaration for predicate [38;5;87m`p3'/1[39;49m [38;5;203mis[39;49m
|
||||
det_errors.m:011: [38;5;203mnot satisfied.[39;49m
|
||||
det_errors.m:011: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors.m:011: The reason for the difference is the following.
|
||||
det_errors.m:044:
|
||||
det_errors.m:044:
|
||||
det_errors.m:044: Unification of [38;5;87m`X'[39;49m and [38;5;87m`42'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors.m:012: Error: the determinism declaration for predicate [38;5;87m`p4'/1[39;49m [38;5;203mis[39;49m
|
||||
det_errors.m:012: [38;5;203mnot satisfied.[39;49m
|
||||
det_errors.m:012: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors.m:012: The reason for the difference is the following.
|
||||
det_errors.m:045:
|
||||
det_errors.m:045:
|
||||
det_errors.m:045: In argument 2 of functor `+/2':
|
||||
det_errors.m:045: unification with [38;5;87m`21'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors.m:026: Error: the determinism declaration for predicate [38;5;87m`q'/2[39;49m [38;5;203mis not[39;49m
|
||||
det_errors.m:026: [38;5;203msatisfied.[39;49m
|
||||
det_errors.m:026: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors.m:026: The reason for the difference is the following.
|
||||
det_errors.m:048:
|
||||
det_errors.m:048:
|
||||
det_errors.m:048: The switch on [38;5;87m`HeadVar__1'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:048: [38;5;203m`d'/0,[39;49m
|
||||
det_errors.m:048: [38;5;203m`e'/0,[39;49m
|
||||
@@ -40,10 +40,10 @@ det_errors.m:034: Error: the determinism declaration for predicate [38;5;87m`r'
|
||||
det_errors.m:034: [38;5;203msatisfied.[39;49m
|
||||
det_errors.m:034: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`nondet'.[39;49m
|
||||
det_errors.m:034: The reasons for the difference are the following.
|
||||
det_errors.m:054:
|
||||
det_errors.m:054:
|
||||
det_errors.m:054: The switch on [38;5;87m`U'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:054: [38;5;203m`u2'/0.[39;49m
|
||||
det_errors.m:057:
|
||||
det_errors.m:057:
|
||||
det_errors.m:057: Inside the case u3(V_16) of the switch on U:
|
||||
det_errors.m:057: the switch on [38;5;87m`V_16'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:057: [38;5;203m`d'/0,[39;49m
|
||||
@@ -52,25 +52,25 @@ det_errors.m:057: [38;5;203m`f'/0,[39;49m
|
||||
det_errors.m:057: [38;5;203m`g'/0,[39;49m
|
||||
det_errors.m:057: [38;5;203m`h'/1,[39;49m
|
||||
det_errors.m:057: [38;5;203m`i'/1.[39;49m
|
||||
det_errors.m:066:
|
||||
det_errors.m:066:
|
||||
det_errors.m:066: Inside the case u4(V_17) of the switch on U:
|
||||
det_errors.m:066: the switch on [38;5;87m`V_17'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:066: [38;5;203m`h'/1,[39;49m
|
||||
det_errors.m:066: [38;5;203m`i'/1.[39;49m
|
||||
det_errors.m:075:
|
||||
det_errors.m:075:
|
||||
det_errors.m:075: Inside the case u4(V_17) of the switch on U:
|
||||
det_errors.m:075: inside the case d/0 of the switch on V_17:
|
||||
det_errors.m:075: disjunction has more than one disjunct with solutions.
|
||||
det_errors.m:078:
|
||||
det_errors.m:078:
|
||||
det_errors.m:078: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
det_errors.m:035: Error: the determinism declaration for predicate [38;5;87m`s'/2[39;49m [38;5;203mis not[39;49m
|
||||
det_errors.m:035: [38;5;203msatisfied.[39;49m
|
||||
det_errors.m:035: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`nondet'.[39;49m
|
||||
det_errors.m:035: The reasons for the difference are the following.
|
||||
det_errors.m:093:
|
||||
det_errors.m:093:
|
||||
det_errors.m:093: The switch on [38;5;87m`U'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:093: [38;5;203m`u2'/0.[39;49m
|
||||
det_errors.m:096:
|
||||
det_errors.m:096:
|
||||
det_errors.m:096: Inside the case u3(V_11) of the switch on U:
|
||||
det_errors.m:096: the switch on [38;5;87m`V_11'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors.m:096: [38;5;203m`d'/0,[39;49m
|
||||
@@ -79,21 +79,21 @@ det_errors.m:096: [38;5;203m`f'/0,[39;49m
|
||||
det_errors.m:096: [38;5;203m`g'/0,[39;49m
|
||||
det_errors.m:096: [38;5;203m`h'/1,[39;49m
|
||||
det_errors.m:096: [38;5;203m`i'/1.[39;49m
|
||||
det_errors.m:116:
|
||||
det_errors.m:116:
|
||||
det_errors.m:116: Inside the case u4(V) of the switch on U:
|
||||
det_errors.m:116: inside the case d/0 of the switch on V:
|
||||
det_errors.m:116: disjunction has more than one disjunct with solutions.
|
||||
det_errors.m:119:
|
||||
det_errors.m:119:
|
||||
det_errors.m:119: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
det_errors.m:125:
|
||||
det_errors.m:125:
|
||||
det_errors.m:125: Inside the case u4(V) of the switch on U:
|
||||
det_errors.m:125: inside the case e/0, f/0 of the switch on V:
|
||||
det_errors.m:125: disjunction has more than one disjunct with solutions.
|
||||
det_errors.m:126:
|
||||
det_errors.m:126:
|
||||
det_errors.m:126: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
det_errors.m:135:
|
||||
det_errors.m:135:
|
||||
det_errors.m:135: Inside the case u4(V) of the switch on U:
|
||||
det_errors.m:135: inside the case h/1, i/1 of the switch on V:
|
||||
det_errors.m:135: disjunction has more than one disjunct with solutions.
|
||||
det_errors.m:136:
|
||||
det_errors.m:136:
|
||||
det_errors.m:136: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
|
||||
@@ -2,6 +2,6 @@ det_errors_and_io.m:038: Error: the determinism declaration for predicate
|
||||
det_errors_and_io.m:038: [38;5;87m`bad_pred'/3[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
det_errors_and_io.m:038: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors_and_io.m:038: The reason for the difference is the following.
|
||||
det_errors_and_io.m:042:
|
||||
det_errors_and_io.m:042:
|
||||
det_errors_and_io.m:042: The switch on [38;5;87m`T'[39;49m [38;5;203mdoes not cover[39;49m
|
||||
det_errors_and_io.m:042: [38;5;203m`d'/0.[39;49m
|
||||
|
||||
@@ -2,14 +2,14 @@ det_errors_deep.m:021: Error: the determinism declaration for predicate [38;5;8
|
||||
det_errors_deep.m:021: [38;5;203mis not satisfied.[39;49m
|
||||
det_errors_deep.m:021: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors_deep.m:021: The reason for the difference is the following.
|
||||
det_errors_deep.m:030:
|
||||
det_errors_deep.m:030:
|
||||
det_errors_deep.m:030: In argument 2 of clause head:
|
||||
det_errors_deep.m:030: unification of [38;5;87m`HeadVar__2'[39;49m and [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors_deep.m:022: Error: the determinism declaration for predicate [38;5;87m`p2'/3[39;49m
|
||||
det_errors_deep.m:022: [38;5;203mis not satisfied.[39;49m
|
||||
det_errors_deep.m:022: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors_deep.m:022: The reason for the difference is the following.
|
||||
det_errors_deep.m:033:
|
||||
det_errors_deep.m:033:
|
||||
det_errors_deep.m:033: In argument 2 of clause head:
|
||||
det_errors_deep.m:033: in argument 2 of functor `node/3':
|
||||
det_errors_deep.m:033: unification with [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
@@ -17,11 +17,11 @@ det_errors_deep.m:023: Error: the determinism declaration for predicate [38;5;8
|
||||
det_errors_deep.m:023: [38;5;203mis not satisfied.[39;49m
|
||||
det_errors_deep.m:023: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors_deep.m:023: The reasons for the difference are the following.
|
||||
det_errors_deep.m:035:
|
||||
det_errors_deep.m:035:
|
||||
det_errors_deep.m:035: In argument 2 of clause head:
|
||||
det_errors_deep.m:035: unification of [38;5;87m`HeadVar__2'[39;49m and
|
||||
det_errors_deep.m:035: [38;5;87m`det_errors_deep.node(_L, V_8, _R)'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors_deep.m:035:
|
||||
det_errors_deep.m:035:
|
||||
det_errors_deep.m:035: In argument 2 of clause head:
|
||||
det_errors_deep.m:035: in argument 2 of functor `node/3':
|
||||
det_errors_deep.m:035: unification with [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
@@ -29,14 +29,14 @@ det_errors_deep.m:024: Error: the determinism declaration for predicate [38;5;8
|
||||
det_errors_deep.m:024: [38;5;203mis not satisfied.[39;49m
|
||||
det_errors_deep.m:024: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
det_errors_deep.m:024: The reasons for the difference are the following.
|
||||
det_errors_deep.m:038:
|
||||
det_errors_deep.m:038:
|
||||
det_errors_deep.m:038: In argument 2 of clause head:
|
||||
det_errors_deep.m:038: unification of [38;5;87m`HeadVar__2'[39;49m and [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors_deep.m:039:
|
||||
det_errors_deep.m:039:
|
||||
det_errors_deep.m:039: In argument 1 of clause head:
|
||||
det_errors_deep.m:039: in argument 3 of functor `node/3':
|
||||
det_errors_deep.m:039: in argument 2 of functor `node/3':
|
||||
det_errors_deep.m:039: unification with [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
det_errors_deep.m:039:
|
||||
det_errors_deep.m:039:
|
||||
det_errors_deep.m:039: In argument 2 of clause head:
|
||||
det_errors_deep.m:039: unification of [38;5;87m`HeadVar__2'[39;49m and [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
ho_default_func_1.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_1.m:037: mode error in conjunction. The next two error
|
||||
ho_default_func_1.m:037: messages indicate possible causes of this error.
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_1.m:037: in call to function `univ.univ'/1:
|
||||
ho_default_func_1.m:037: mode error: the insts of argument [38;5;87m`V_7'[39;49m and the
|
||||
ho_default_func_1.m:037: [38;5;87mreturn value `V_6'[39;49m [38;5;203mdo not match[39;49m any of the three
|
||||
ho_default_func_1.m:037: modes for function `univ.univ'/1.
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: The inst of the first argument, [38;5;87m`V_7'[39;49m, which is
|
||||
ho_default_func_1.m:037: [38;5;203m`/* unique */ (func(out) = in is det)',[39;49m does not
|
||||
ho_default_func_1.m:037: match the inst required by some of the modes of
|
||||
@@ -16,21 +16,21 @@ ho_default_func_1.m:037: (For higher order insts like this, the mismatch is
|
||||
ho_default_func_1.m:037: sometimes caused by the arity of the predicate or
|
||||
ho_default_func_1.m:037: function being different in the inst than in the
|
||||
ho_default_func_1.m:037: type.)
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: The inst of the return value [38;5;87m`V_6'[39;49m, which is
|
||||
ho_default_func_1.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_1.m:037: of the modes of the callee, namely the third mode.
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_1.m:037: in call to predicate `univ.univ_to_type'/2:
|
||||
ho_default_func_1.m:037: mode error: the insts of arguments [38;5;87m`V_6'[39;49m and [38;5;87m`Y0'[39;49m [38;5;203mdo[39;49m
|
||||
ho_default_func_1.m:037: [38;5;203mnot match[39;49m any of the three modes for predicate
|
||||
ho_default_func_1.m:037: `univ.univ_to_type'/2.
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: The inst of the first argument, [38;5;87m`V_6'[39;49m, which is
|
||||
ho_default_func_1.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_1.m:037: of the modes of the callee, namely the first mode.
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037:
|
||||
ho_default_func_1.m:037: The inst of the second argument, [38;5;87m`Y0'[39;49m, which is
|
||||
ho_default_func_1.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_1.m:037: of the modes of the callee, namely the second and
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
ho_default_func_3.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_3.m:037: mode error in conjunction. The next two error
|
||||
ho_default_func_3.m:037: messages indicate possible causes of this error.
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_3.m:037: in call to function `univ.univ'/1:
|
||||
ho_default_func_3.m:037: mode error: the insts of argument [38;5;87m`V_7'[39;49m and the
|
||||
ho_default_func_3.m:037: [38;5;87mreturn value `V_6'[39;49m [38;5;203mdo not match[39;49m any of the three
|
||||
ho_default_func_3.m:037: modes for function `univ.univ'/1.
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: The inst of the first argument, [38;5;87m`V_7'[39;49m, which is
|
||||
ho_default_func_3.m:037: [38;5;203m`/* unique */ (func(di) = uo is det)',[39;49m does not
|
||||
ho_default_func_3.m:037: match the inst required by some of the modes of
|
||||
@@ -16,21 +16,21 @@ ho_default_func_3.m:037: (For higher order insts like this, the mismatch is
|
||||
ho_default_func_3.m:037: sometimes caused by the arity of the predicate or
|
||||
ho_default_func_3.m:037: function being different in the inst than in the
|
||||
ho_default_func_3.m:037: type.)
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: The inst of the return value [38;5;87m`V_6'[39;49m, which is
|
||||
ho_default_func_3.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_3.m:037: of the modes of the callee, namely the third mode.
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: In clause for `baz(in, out)':
|
||||
ho_default_func_3.m:037: in call to predicate `univ.univ_to_type'/2:
|
||||
ho_default_func_3.m:037: mode error: the insts of arguments [38;5;87m`V_6'[39;49m and [38;5;87m`Y0'[39;49m [38;5;203mdo[39;49m
|
||||
ho_default_func_3.m:037: [38;5;203mnot match[39;49m any of the three modes for predicate
|
||||
ho_default_func_3.m:037: `univ.univ_to_type'/2.
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: The inst of the first argument, [38;5;87m`V_6'[39;49m, which is
|
||||
ho_default_func_3.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_3.m:037: of the modes of the callee, namely the first mode.
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037:
|
||||
ho_default_func_3.m:037: The inst of the second argument, [38;5;87m`Y0'[39;49m, which is
|
||||
ho_default_func_3.m:037: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_3.m:037: of the modes of the callee, namely the second and
|
||||
|
||||
@@ -3,7 +3,7 @@ ho_default_func_4.m:039: in call to function `univ.univ'/1:
|
||||
ho_default_func_4.m:039: mode error: the insts of argument [38;5;87m`V_7'[39;49m and the
|
||||
ho_default_func_4.m:039: [38;5;87mreturn value `V_6'[39;49m [38;5;203mdo not match[39;49m any of the three
|
||||
ho_default_func_4.m:039: modes for function `univ.univ'/1.
|
||||
ho_default_func_4.m:039:
|
||||
ho_default_func_4.m:039:
|
||||
ho_default_func_4.m:039: The inst of the first argument, [38;5;87m`V_7'[39;49m, which is
|
||||
ho_default_func_4.m:039: [38;5;203m/* unique */ (func([39;49m
|
||||
ho_default_func_4.m:039: [38;5;203min(named inst one[39;49m
|
||||
@@ -20,7 +20,7 @@ ho_default_func_4.m:039: (For higher order insts like this, the mismatch is
|
||||
ho_default_func_4.m:039: sometimes caused by the arity of the predicate or
|
||||
ho_default_func_4.m:039: function being different in the inst than in the
|
||||
ho_default_func_4.m:039: type.)
|
||||
ho_default_func_4.m:039:
|
||||
ho_default_func_4.m:039:
|
||||
ho_default_func_4.m:039: The inst of the return value [38;5;87m`V_6'[39;49m, which is
|
||||
ho_default_func_4.m:039: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
ho_default_func_4.m:039: of the modes of the callee, namely the third mode.
|
||||
|
||||
@@ -11,14 +11,14 @@ ho_type_mode_bug.m:029: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:029: in, in, out, di, uo)':
|
||||
ho_type_mode_bug.m:029: mode error in conjunction. The next four error
|
||||
ho_type_mode_bug.m:029: messages indicate possible causes of this error.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:028: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:028: in, in, out, di, uo)':
|
||||
ho_type_mode_bug.m:028: in argument 1 of the call to the `call' builtin
|
||||
ho_type_mode_bug.m:028: predicate:
|
||||
ho_type_mode_bug.m:028: mode error: context requires a [38;5;40mpredicate of[39;49m
|
||||
ho_type_mode_bug.m:028: [38;5;40marity five,[39;49m but [38;5;87m`P'[39;49m has [38;5;203marity three.[39;49m
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:029: in, in, out, di, uo)':
|
||||
ho_type_mode_bug.m:029: in call to predicate `ho_type_mode_bug.my_foldl2'/6:
|
||||
@@ -26,7 +26,7 @@ ho_type_mode_bug.m:029: mode error: the insts of arguments [38;5;87m`P'[39;4
|
||||
ho_type_mode_bug.m:029: [38;5;87m`FirstAcc1'[39;49m, [38;5;87m`FirstAcc'[39;49m, [38;5;87m`SecAcc1'[39;49m and [38;5;87m`SecAcc'[39;49m [38;5;203mdo[39;49m
|
||||
ho_type_mode_bug.m:029: [38;5;203mnot match[39;49m either of the two modes of predicate
|
||||
ho_type_mode_bug.m:029: `ho_type_mode_bug.my_foldl2'/6.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the first argument, [38;5;87m`P'[39;49m, which is
|
||||
ho_type_mode_bug.m:029: [38;5;203m`(pred(in, in, out) is det)',[39;49m does not match any of
|
||||
ho_type_mode_bug.m:029: the required insts.
|
||||
@@ -34,14 +34,14 @@ ho_type_mode_bug.m:029: (For higher order insts like this, the mismatch is
|
||||
ho_type_mode_bug.m:029: sometimes caused by the arity of the predicate or
|
||||
ho_type_mode_bug.m:029: function being different in the inst than in the
|
||||
ho_type_mode_bug.m:029: type.)
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the third argument, [38;5;87m`FirstAcc1'[39;49m, which
|
||||
ho_type_mode_bug.m:029: is [38;5;203m`free',[39;49m does not match any of the required
|
||||
ho_type_mode_bug.m:029: insts.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the fifth argument, [38;5;87m`SecAcc1'[39;49m, which is
|
||||
ho_type_mode_bug.m:029: [38;5;203m`free',[39;49m does not match any of the required insts.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:027: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:027: in, in, out, di, uo)':
|
||||
ho_type_mode_bug.m:027: in argument 4 of clause head:
|
||||
@@ -49,7 +49,7 @@ ho_type_mode_bug.m:027: mode error in unification of `HeadVar__4' and
|
||||
ho_type_mode_bug.m:027: `FirstAcc'.
|
||||
ho_type_mode_bug.m:027: Variable [38;5;87m`HeadVar__4'[39;49m has instantiatedness [38;5;171m`free',[39;49m
|
||||
ho_type_mode_bug.m:027: variable [38;5;87m`FirstAcc'[39;49m has instantiatedness [38;5;171m`free'.[39;49m
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:027: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:027: in, in, out, di, uo)':
|
||||
ho_type_mode_bug.m:027: in argument 6 of clause head:
|
||||
@@ -61,14 +61,14 @@ ho_type_mode_bug.m:029: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:029: in, in, out, in, out)':
|
||||
ho_type_mode_bug.m:029: mode error in conjunction. The next four error
|
||||
ho_type_mode_bug.m:029: messages indicate possible causes of this error.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:028: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:028: in, in, out, in, out)':
|
||||
ho_type_mode_bug.m:028: in argument 1 of the call to the `call' builtin
|
||||
ho_type_mode_bug.m:028: predicate:
|
||||
ho_type_mode_bug.m:028: mode error: context requires a [38;5;40mpredicate of[39;49m
|
||||
ho_type_mode_bug.m:028: [38;5;40marity five,[39;49m but [38;5;87m`P'[39;49m has [38;5;203marity three.[39;49m
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:029: in, in, out, in, out)':
|
||||
ho_type_mode_bug.m:029: in call to predicate `ho_type_mode_bug.my_foldl2'/6:
|
||||
@@ -76,7 +76,7 @@ ho_type_mode_bug.m:029: mode error: the insts of arguments [38;5;87m`P'[39;4
|
||||
ho_type_mode_bug.m:029: [38;5;87m`FirstAcc1'[39;49m, [38;5;87m`FirstAcc'[39;49m, [38;5;87m`SecAcc1'[39;49m and [38;5;87m`SecAcc'[39;49m [38;5;203mdo[39;49m
|
||||
ho_type_mode_bug.m:029: [38;5;203mnot match[39;49m either of the two modes of predicate
|
||||
ho_type_mode_bug.m:029: `ho_type_mode_bug.my_foldl2'/6.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the first argument, [38;5;87m`P'[39;49m, which is
|
||||
ho_type_mode_bug.m:029: [38;5;203m`(pred(in, in, out) is det)',[39;49m does not match any of
|
||||
ho_type_mode_bug.m:029: the required insts.
|
||||
@@ -84,14 +84,14 @@ ho_type_mode_bug.m:029: (For higher order insts like this, the mismatch is
|
||||
ho_type_mode_bug.m:029: sometimes caused by the arity of the predicate or
|
||||
ho_type_mode_bug.m:029: function being different in the inst than in the
|
||||
ho_type_mode_bug.m:029: type.)
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the third argument, [38;5;87m`FirstAcc1'[39;49m, which
|
||||
ho_type_mode_bug.m:029: is [38;5;203m`free',[39;49m does not match any of the required
|
||||
ho_type_mode_bug.m:029: insts.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029: The inst of the fifth argument, [38;5;87m`SecAcc1'[39;49m, which is
|
||||
ho_type_mode_bug.m:029: [38;5;203m`free',[39;49m does not match any of the required insts.
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:027: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:027: in, in, out, in, out)':
|
||||
ho_type_mode_bug.m:027: in argument 4 of clause head:
|
||||
@@ -99,7 +99,7 @@ ho_type_mode_bug.m:027: mode error in unification of `HeadVar__4' and
|
||||
ho_type_mode_bug.m:027: `FirstAcc'.
|
||||
ho_type_mode_bug.m:027: Variable [38;5;87m`HeadVar__4'[39;49m has instantiatedness [38;5;171m`free',[39;49m
|
||||
ho_type_mode_bug.m:027: variable [38;5;87m`FirstAcc'[39;49m has instantiatedness [38;5;171m`free'.[39;49m
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:029:
|
||||
ho_type_mode_bug.m:027: In clause for `my_foldl2((pred(in, in, out) is det),
|
||||
ho_type_mode_bug.m:027: in, in, out, in, out)':
|
||||
ho_type_mode_bug.m:027: in argument 6 of clause head:
|
||||
|
||||
@@ -2,7 +2,7 @@ magicbox.m:038: Error: the determinism declaration for predicate
|
||||
magicbox.m:038: [38;5;87m`arguments_handler'/3[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
magicbox.m:038: Declared [38;5;40m`cc_multi',[39;49m inferred [38;5;203m`cc_nondet'.[39;49m
|
||||
magicbox.m:038: The reasons for the difference are the following.
|
||||
magicbox.m:055:
|
||||
magicbox.m:055:
|
||||
magicbox.m:055: This call to predicate [38;5;87m`string.to_int'/2[39;49m [38;5;203mcan fail.[39;49m
|
||||
magicbox.m:061:
|
||||
magicbox.m:061:
|
||||
magicbox.m:061: This call to predicate [38;5;87m`string.to_int'/2[39;49m [38;5;203mcan fail.[39;49m
|
||||
|
||||
@@ -3,7 +3,7 @@ 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:
|
||||
max_error_line_width.m:054: The function symbol [38;5;87m`f'/0.[39;49m
|
||||
max_error_line_width.m:054: The possible matches are:
|
||||
max_error_line_width.m:054: the builtin type constructor [38;5;226m`character',[39;49m
|
||||
@@ -16,12 +16,12 @@ 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:
|
||||
max_error_line_width.m:059: The function symbol [38;5;87m`a1'/0.[39;49m
|
||||
max_error_line_width.m:059: The possible matches are:
|
||||
max_error_line_width.m:059: the type constructor [38;5;226m`max_error_line_width.baz'/0,[39;49m
|
||||
max_error_line_width.m:059: the type constructor [38;5;226m`max_error_line_width.qux'/0.[39;49m
|
||||
max_error_line_width.m:059:
|
||||
max_error_line_width.m:059:
|
||||
max_error_line_width.m:059: The function symbol [38;5;87m`a2'/0.[39;49m
|
||||
max_error_line_width.m:059: The possible matches are:
|
||||
max_error_line_width.m:059: the type constructor [38;5;226m`max_error_line_width.baz'/0,[39;49m
|
||||
@@ -31,7 +31,7 @@ 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:
|
||||
max_error_line_width.m:064: The function symbol [38;5;87m`unchecked_left_shift'/2.[39;49m
|
||||
max_error_line_width.m:064: The possible matches are:
|
||||
max_error_line_width.m:064: [38;5;226mfunction `int.unchecked_left_shift'/2,[39;49m
|
||||
@@ -52,7 +52,7 @@ 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:
|
||||
max_error_line_width.m:118: The function symbol [38;5;87m`lookup_bool_option'/2.[39;49m
|
||||
max_error_line_width.m:118: The possible matches are:
|
||||
max_error_line_width.m:118: [38;5;226mpredicate `getopt.lookup_bool_option'/3,[39;49m
|
||||
|
||||
@@ -6,7 +6,7 @@ mode_inf.m:014: free
|
||||
mode_inf.m:014: which does not match any of the valid modes for the callee
|
||||
mode_inf.m:014: (predicate `mode_inf.q'/2)
|
||||
mode_inf.m:014: because of the following error.
|
||||
mode_inf.m:016:
|
||||
mode_inf.m:016:
|
||||
mode_inf.m:016: In clause for `q(out(not_reached), out(not_reached))':
|
||||
mode_inf.m:016: in argument 2 of clause head:
|
||||
mode_inf.m:016: mode error in unification of `Z' and `Z'.
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
modes_erroneous.m:020: In clause for `p(in, out)':
|
||||
modes_erroneous.m:020: mode error in conjunction. The next two error messages
|
||||
modes_erroneous.m:020: indicate possible causes of this error.
|
||||
modes_erroneous.m:020:
|
||||
modes_erroneous.m:020:
|
||||
modes_erroneous.m:020: In clause for `p(in, out)':
|
||||
modes_erroneous.m:020: in argument 1 of call to predicate
|
||||
modes_erroneous.m:020: `modes_erroneous.p'/2:
|
||||
modes_erroneous.m:020: mode error: variable [38;5;87m`V_5'[39;49m has instantiatedness
|
||||
modes_erroneous.m:020: [38;5;203m`free',[39;49m
|
||||
modes_erroneous.m:020: expected instantiatedness was [38;5;40m`ground'.[39;49m
|
||||
modes_erroneous.m:020:
|
||||
modes_erroneous.m:020:
|
||||
modes_erroneous.m:019: In clause for `p(in, out)':
|
||||
modes_erroneous.m:019: in argument 2 of clause head:
|
||||
modes_erroneous.m:019: mode error in unification of `HeadVar__2' and `X'.
|
||||
|
||||
@@ -9,7 +9,7 @@ no_ho_inst.m:044: determinism of the predicate that `AppHandler' represents.
|
||||
no_ho_inst.m:044: The insts of higher order values should contain this
|
||||
no_ho_inst.m:044: information, but [38;5;203m`ground',[39;49m which is the inst of
|
||||
no_ho_inst.m:044: `AppHandler' at this point, [38;5;203mdoes not.[39;49m
|
||||
no_ho_inst.m:044:
|
||||
no_ho_inst.m:044:
|
||||
no_ho_inst.m:044: The fix for this error is to add this information. For
|
||||
no_ho_inst.m:044: example, given a higher order type such as
|
||||
no_ho_inst.m:044: :- type callback_t == (pred(world, world, io, io)).
|
||||
@@ -21,7 +21,7 @@ no_ho_inst.m:044: determinism of a predicate. Search for `higher order inst'
|
||||
no_ho_inst.m:044: in the Mercury language reference manual's chapter for
|
||||
no_ho_inst.m:044: higher order programming for a corresponding example for
|
||||
no_ho_inst.m:044: functions.
|
||||
no_ho_inst.m:044:
|
||||
no_ho_inst.m:044:
|
||||
no_ho_inst.m:044: You can then tell the compiler that a value of type
|
||||
no_ho_inst.m:044: callback_t has inst callback_i by specifying either the
|
||||
no_ho_inst.m:044: mode `in(callback_i)' (when taking a value of type
|
||||
|
||||
@@ -2,12 +2,12 @@ not_a_switch.m:014: Error: the determinism declaration for predicate
|
||||
not_a_switch.m:014: [38;5;87m`not_a_switch'/2[39;49m [38;5;203mis not satisfied.[39;49m
|
||||
not_a_switch.m:014: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`nondet'.[39;49m
|
||||
not_a_switch.m:014: The reasons for the difference are the following.
|
||||
not_a_switch.m:019:
|
||||
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:
|
||||
not_a_switch.m:022: This later disjunct [38;5;203mmay have a solution.[39;49m
|
||||
not_a_switch.m:021:
|
||||
not_a_switch.m:021:
|
||||
not_a_switch.m:021: Unification of [38;5;87m`A'[39;49m and [38;5;87m`maybe.yes(Int2)'[39;49m [38;5;203mcan fail.[39;49m
|
||||
not_a_switch.m:022:
|
||||
not_a_switch.m:022:
|
||||
not_a_switch.m:022: In argument 1 of clause head:
|
||||
not_a_switch.m:022: unification of [38;5;87m`HeadVar__1'[39;49m and [38;5;87m`maybe.no'[39;49m [38;5;203mcan fail.[39;49m
|
||||
|
||||
@@ -4,12 +4,12 @@ state_vars_test_1.m:018: mode error: the insts of arguments
|
||||
state_vars_test_1.m:018: [38;5;87m`STATE_VARIABLE_X_0'[39;49m, [38;5;87m`V_7'[39;49m and the [38;5;87mreturn value[39;49m
|
||||
state_vars_test_1.m:018: [38;5;87m`STATE_VARIABLE_X'[39;49m [38;5;203mdo not match[39;49m any of the three
|
||||
state_vars_test_1.m:018: modes for function `int.+'/2.
|
||||
state_vars_test_1.m:018:
|
||||
state_vars_test_1.m:018:
|
||||
state_vars_test_1.m:018: The inst of the second argument, [38;5;87m`V_7'[39;49m, which is
|
||||
state_vars_test_1.m:018: [38;5;203m`free',[39;49m does not match the inst required by some
|
||||
state_vars_test_1.m:018: of the modes of the callee, namely the first and
|
||||
state_vars_test_1.m:018: second modes.
|
||||
state_vars_test_1.m:018:
|
||||
state_vars_test_1.m:018:
|
||||
state_vars_test_1.m:018: The inst of the return value [38;5;87m`STATE_VARIABLE_X'[39;49m,
|
||||
state_vars_test_1.m:018: which is [38;5;203m`free',[39;49m does not match the inst required
|
||||
state_vars_test_1.m:018: by some of the modes of the callee, namely the
|
||||
|
||||
@@ -2,7 +2,7 @@ try_detism.m:016: Error: the determinism declaration for predicate [38;5;87m`p'
|
||||
try_detism.m:016: [38;5;203msatisfied.[39;49m
|
||||
try_detism.m:016: Declared [38;5;40m`cc_multi',[39;49m inferred [38;5;203m`cc_nondet'.[39;49m
|
||||
try_detism.m:016: The reason for the difference is the following.
|
||||
try_detism.m:023:
|
||||
try_detism.m:023:
|
||||
try_detism.m:023: In argument 1 of call to predicate `try_detism.q'/3:
|
||||
try_detism.m:023: unification with [38;5;87m`X'[39;49m [38;5;203mcan fail.[39;49m
|
||||
try_detism.m:022: Error: call to predicate [38;5;87m`exception.magic_exception_result'/1[39;49m
|
||||
@@ -15,7 +15,7 @@ try_detism.m:022: mode error: the insts of arguments [38;5;87m`TryLambda'[39
|
||||
try_detism.m:022: [38;5;87m`TryResult'[39;49m, [38;5;87m`STATE_VARIABLE_IO_1'[39;49m and [38;5;87m`TryIOOutput'[39;49m [38;5;203mdo not[39;49m
|
||||
try_detism.m:022: [38;5;203mmatch[39;49m either of the two modes of predicate
|
||||
try_detism.m:022: `exception.try_io'/4.
|
||||
try_detism.m:022:
|
||||
try_detism.m:022:
|
||||
try_detism.m:022: The inst of the first argument, [38;5;87m`TryLambda'[39;49m, which is
|
||||
try_detism.m:022: [38;5;203m/* unique */ (pred(out, di, uo) is semidet),[39;49m
|
||||
try_detism.m:022: does not match any of the required insts.
|
||||
|
||||
@@ -12,7 +12,7 @@ user_field_access_decl_override_1.m:025: [38;5;203msatisfied.[39;49m
|
||||
user_field_access_decl_override_1.m:025: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
user_field_access_decl_override_1.m:025: The reason for the difference is the
|
||||
user_field_access_decl_override_1.m:025: following.
|
||||
user_field_access_decl_override_1.m:030:
|
||||
user_field_access_decl_override_1.m:030:
|
||||
user_field_access_decl_override_1.m:030: In unification of [38;5;87m`X'[39;49m and [38;5;87m`f1(Foo)'[39;49m:
|
||||
user_field_access_decl_override_1.m:030: this call to function
|
||||
user_field_access_decl_override_1.m:030: [38;5;87m`user_field_access_decl_override_1.f1'/1[39;49m
|
||||
@@ -23,7 +23,7 @@ user_field_access_decl_override_1.m:032: [38;5;203msatisfied.[39;49m
|
||||
user_field_access_decl_override_1.m:032: Declared [38;5;40m`det',[39;49m inferred [38;5;203m`semidet'.[39;49m
|
||||
user_field_access_decl_override_1.m:032: The reason for the difference is the
|
||||
user_field_access_decl_override_1.m:032: following.
|
||||
user_field_access_decl_override_1.m:037:
|
||||
user_field_access_decl_override_1.m:037:
|
||||
user_field_access_decl_override_1.m:037: In unification of
|
||||
user_field_access_decl_override_1.m:037: [38;5;87m`STATE_VARIABLE_Foo'[39;49m and [38;5;87m`'f1[39;49m
|
||||
user_field_access_decl_override_1.m:037: [38;5;87m:='(STATE_VARIABLE_Foo_0, X)'[39;49m:
|
||||
|
||||
@@ -113,21 +113,21 @@ errors_2.m:085: Z_2: errors_2.bar_1_type
|
||||
errors_2.m:085: A_3: int
|
||||
errors_2.m:085: B_4: character
|
||||
errors_2.m:085: C_5: string
|
||||
errors_2.m:085:
|
||||
errors_2.m:085:
|
||||
errors_2.m:085: Type assignment 2:
|
||||
errors_2.m:085: Y_1: character
|
||||
errors_2.m:085: Z_2: errors_2.bar_1_type
|
||||
errors_2.m:085: A_3: int
|
||||
errors_2.m:085: B_4: character
|
||||
errors_2.m:085: C_5: string
|
||||
errors_2.m:085:
|
||||
errors_2.m:085:
|
||||
errors_2.m:085: Type assignment 3:
|
||||
errors_2.m:085: Y_1: errors_2.foo
|
||||
errors_2.m:085: Z_2: errors_2.bar_2_type
|
||||
errors_2.m:085: A_3: character
|
||||
errors_2.m:085: B_4: int
|
||||
errors_2.m:085: C_5: string
|
||||
errors_2.m:085:
|
||||
errors_2.m:085:
|
||||
errors_2.m:085: Type assignment 4:
|
||||
errors_2.m:085: Y_1: character
|
||||
errors_2.m:085: Z_2: errors_2.bar_2_type
|
||||
|
||||
@@ -6,7 +6,7 @@ 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:
|
||||
ambiguous_overloading.m:048: The function symbol [38;5;87m`f'/0.[39;49m
|
||||
ambiguous_overloading.m:048: The possible matches are:
|
||||
ambiguous_overloading.m:048: the builtin type constructor [38;5;226m`character',[39;49m
|
||||
@@ -18,14 +18,14 @@ 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:
|
||||
ambiguous_overloading.m:052: The function symbol [38;5;87m`a1'/0.[39;49m
|
||||
ambiguous_overloading.m:052: The possible matches are:
|
||||
ambiguous_overloading.m:052: the type constructor
|
||||
ambiguous_overloading.m:052: [38;5;226m`ambiguous_overloading.baz'/0,[39;49m
|
||||
ambiguous_overloading.m:052: the type constructor
|
||||
ambiguous_overloading.m:052: [38;5;226m`ambiguous_overloading.qux'/0.[39;49m
|
||||
ambiguous_overloading.m:052:
|
||||
ambiguous_overloading.m:052:
|
||||
ambiguous_overloading.m:052: The function symbol [38;5;87m`a2'/0.[39;49m
|
||||
ambiguous_overloading.m:052: The possible matches are:
|
||||
ambiguous_overloading.m:052: the type constructor
|
||||
@@ -36,7 +36,7 @@ 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:
|
||||
ambiguous_overloading.m:057: The predicate symbol [38;5;87m`<'/2.[39;49m
|
||||
ambiguous_overloading.m:057: The possible matches are:
|
||||
ambiguous_overloading.m:057: predicate [38;5;226m`float.<'/2,[39;49m
|
||||
@@ -51,7 +51,7 @@ 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:
|
||||
ambiguous_overloading.m:079: The function symbol [38;5;87m`lookup_bool_option'/2.[39;49m
|
||||
ambiguous_overloading.m:079: The possible matches are:
|
||||
ambiguous_overloading.m:079: [38;5;226mpredicate `getopt.lookup_bool_option'/3,[39;49m
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
inconsistent_pred_order.m:010: Warning: [38;5;87mthe order of the declarations and[39;49m
|
||||
inconsistent_pred_order.m:010: [38;5;87mdefinitions[39;49m of the nonexported predicates is
|
||||
inconsistent_pred_order.m:010: [38;5;203minconsistent,[39;49m as shown by this diff:
|
||||
inconsistent_pred_order.m:010:
|
||||
inconsistent_pred_order.m:010:
|
||||
inconsistent_pred_order.m:010: --- declaration order
|
||||
inconsistent_pred_order.m:010: +++ definition order
|
||||
inconsistent_pred_order.m:010: @@ -1,8 +1,8 @@
|
||||
|
||||
@@ -3,7 +3,7 @@ subtype_order.m:030: [38;5;203mdifferent order[39;49m to its supertype [38;
|
||||
subtype_order.m:030: differences between the order of function symbols in the
|
||||
subtype_order.m:030: subtype, and the order of the same function symbols in
|
||||
subtype_order.m:030: the supertype, are as follows.
|
||||
subtype_order.m:030:
|
||||
subtype_order.m:030:
|
||||
subtype_order.m:030: @@ -1,5 +1,5 @@
|
||||
subtype_order.m:030: [38;5;40m-lemon/0[39;49m
|
||||
subtype_order.m:030: [38;5;203m+pomelo/0[39;49m
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
test_tscp.m:054: For this type_spec_constrained_preds pragma, the compiler
|
||||
test_tscp.m:054: generated these type_spec pragmas:
|
||||
test_tscp.m:054:
|
||||
test_tscp.m:054:
|
||||
test_tscp.m:054: :- pragma type_spec(pred(test_tscp.p1/5), (C = int, D =
|
||||
test_tscp.m:054: term.var(V_3))).
|
||||
test_tscp.m:054:
|
||||
test_tscp.m:054:
|
||||
test_tscp.m:054: :- pragma type_spec(pred(test_tscp.p1/5), (B = character, C
|
||||
test_tscp.m:054: = bool.bool)).
|
||||
test_tscp.m:066: For this type_spec_constrained_preds pragma, the compiler
|
||||
test_tscp.m:066: generated this type_spec pragma:
|
||||
test_tscp.m:066:
|
||||
test_tscp.m:066:
|
||||
test_tscp.m:066: :- pragma type_spec(pred(test_tscp.p2/3), (Stream =
|
||||
test_tscp.m:066: io.text_input_stream, State = io.state, Error = io.error)).
|
||||
test_tscp.m:074: For this type_spec_constrained_preds pragma, the compiler
|
||||
test_tscp.m:074: generated this type_spec pragma:
|
||||
test_tscp.m:074:
|
||||
test_tscp.m:074:
|
||||
test_tscp.m:074: :- pragma type_spec(pred(test_tscp.p2/3), (Stream =
|
||||
test_tscp.m:074: io.text_input_stream, State = io.state, Error = io.error)).
|
||||
test_tscp.m:100: For this type_spec_constrained_preds pragma, the compiler
|
||||
test_tscp.m:100: generated these type_spec pragmas:
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100: :- pragma type_spec(pred(test_tscp.p3/2), A = int).
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100: :- pragma type_spec(pred(test_tscp.p3/2), B = int).
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100: :- pragma type_spec(pred(test_tscp.p3/2), A = float).
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100:
|
||||
test_tscp.m:100: :- pragma type_spec(pred(test_tscp.p3/2), B = float).
|
||||
|
||||
Reference in New Issue
Block a user