Estimated hours taken: 0.1
Another fix to make things work with my change to
ensure that the declarations and definitions for data constants
specify the same linkage (extern or static).
tests/valid/intermod_lambda.m:
Add definitions for types which were declared but not defined.
Estimated hours taken: 0.1
compiler/intermod.m
Use the declared argmodes or procedures when gathering modes to put
into .opt files, since these are the modes that are written to the
.opt file.
tests/valid/intermod_lambda.m
tests/valid/intermod_lambda2.m
Updated these to act as a regression test.
Estimated hours taken: 0.5
Fix an abort reported by Peter Schachte, which was caused by
hlds_module:get_pred_id_and_proc_id attempting to resolve overloading
on a predicate from a `.opt' file, while the code to resolve overloading
in typecheck.m does not attempt to match against predicates declared
in `.opt' files since all calls to such predicates should be module
qualified in the `.opt' file.
compiler/hlds_module.m
If a predicate call is module qualified, there is no overloading
to resolve, so don't check the argument types.
tests/valid/Mmake
tests/valid/intermod_lambda.m
tests/valid/intermod_lambda2.m
Added a regression test.