Estimated hours taken: 3
Branches: main
compiler/unused_args.m:
Fix a bug when unused argument elimination was enabled with
intermodule analysis that caused an exception in the MLDS code
generator. The proc_infos for created imported procedures did
not have the modes of unused arguments removed.
tests/hard_coded/Mercury.options:
tests/hard_coded/Mmakefile:
tests/hard_coded/intermod_unused_args.exp:
tests/hard_coded/intermod_unused_args.m:
tests/hard_coded/intermod_unused_args2.m:
Add a test case.