|
843 | 843 | get_dict_type(Val, _, Type) :-
|
844 | 844 | % Retrieve the type from the dictionary 'type' field.
|
845 | 845 | get_dict(Val, type, Type).
|
846 |
| -get_dict_type(Val, _, TypeO) :- |
| 846 | +get_dict_type(Val, _, Type) :- |
847 | 847 | % Retrieve the type from the dictionary 'class' field.
|
848 | 848 | get_dict(Val, class, Type).
|
849 |
| -get_dict_type(Val, _, TypeO) :- |
| 849 | +get_dict_type(Val, _, Type) :- |
850 | 850 | % Retrieve the type from the dictionary 'types' field if it is a list.
|
851 | 851 | get_dict(Val, types, TypeL),
|
852 | 852 | is_list(TypeL),
|
|
939 | 939 | maplist(get_type(Depth2, Self), List, Type),
|
940 | 940 | % Ensure the expression is not badly typed.
|
941 | 941 | \+ badly_typed_expression(Depth, Self, Type).
|
942 |
| -get_type_cmpd_eval(Depth2, Self, EvalMe, Val, Type, eval_first) :- |
| 942 | +get_type_cmpd_eval(Depth2, Self, _EvalMe, Val, Type, eval_first) :- |
943 | 943 | % Handle first-evaluation strategy.
|
944 | 944 | !,
|
945 | 945 | \+ needs_eval(Val),
|
|
1159 | 1159 | % @arg X The input arguments.
|
1160 | 1160 | % @arg Y The final adjusted arguments.
|
1161 | 1161 | %
|
1162 |
| -adjust_argsA(Else, Eq, RetType, Res, NewRes, Depth, Self, Op, X, Y) :- |
| 1162 | +adjust_argsA(_Else, Eq, RetType, Res, NewRes, Depth, Self, Op, X, Y) :- |
1163 | 1163 | len_or_unbound(X, Len),
|
1164 | 1164 | get_operator_typedef(Self, Op, Len, ParamTypes, RRetType),
|
1165 | 1165 | (nonvar(NewRes) -> CRes = NewRes ; CRes = Res),
|
|
0 commit comments