Here is the code that causes the compiler dump:
Code: Select all
% -------------------------- PERFT -------------------------------
clauses
get_perft() = Object :-
%if isErroneous(movelist_) then
% %calc_board()
%end if,
Object =
implement : perft
clauses
perft(Depth, Divide) = Count :-
% COMPILER ERROR MESSAGE: "Database domain expected 'vector{@Type}'"
if isErroneous(movelist_) then
%calc_board()
end if,
doDivide := Divide,
Count = 0.
clauses
new() :- allmoves := true.
end implement.
Code: Select all
% -------------------------- PERFT -------------------------------
clauses
get_perft() = Object :-
if isErroneous(movelist_) then
%calc_board()
end if,
Object =
implement : perft
clauses
perft(Depth, Divide) = Count :-
% COMPILER ERROR MESSAGE: "Database domain expected 'vector{@Type}'"
%if isErroneous(movelist_) then
% %calc_board()
%end if,
doDivide := Divide,
Count = 0.
clauses
new() :- allmoves := true.
end implement.
Craig Hoibakk