tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
Make these tests use four-space indentation, and ensure that
each module is imported on its own line. (I intend to use the latter
to figure out which subdirectories' tests can be executed in parallel.)
These changes usually move code to different lines. For the debugger tests,
specify the new line numbers in .inp files and expect them in .exp files.
compiler/modes.m:
Change the representation of extra_goals from just a pair
of lists of goals (goals to insert before & after the main
goal, respectively) so that it includes an instmap, which
is the instmap after the main goal. This change is required
because without it it was incorrectly computing the instmap
delta for the main goal, if the after-goals list was non-empty.
Also, delete the before-goals list, because it is not used
and because getting the instmap deltas right for before-goals
would be tricky.
compiler/modecheck_unify.m:
compiler/unique_modes.m:
compiler/modecheck_call.m:
Various changes to use the new representation of extra_goals.
tests/hard_coded/Mmake:
tests/hard_coded/impossible_unify.m:
tests/hard_coded/impossible_unify.exp:
Regression test for the above-mentioned bug.