mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-14 13:23:53 +00:00
Clean up in unused module imports in the Mercury system detected
Estimated hours taken: 3 Branches: main Clean up in unused module imports in the Mercury system detected by --warn-unused-imports. analysis/*.m: browser/*.m: deep_profiler/*.m: compiler/*.m: library/*.m: mdbcomp/*.m: profiler/*.m: slice/*.m: Remove unused module imports. Fix some minor departures from our coding standards. analysis/Mercury.options: browser/Mercury.options: deep_profiler/Mercury.options: compiler/Mercury.options: library/Mercury.options: mdbcomp/Mercury.options: profiler/Mercury.options: slice/Mercury.options: Set --no-warn-unused-imports for those modules that are used as packages or otherwise break --warn-unused-imports, e.g. because they contain predicates with both foreign and Mercury clauses and some of the imports only depend on the latter.
This commit is contained in:
@@ -96,18 +96,10 @@
|
||||
:- import_module backend_libs.proc_label.
|
||||
:- import_module backend_libs.rtti.
|
||||
:- import_module hlds.code_model.
|
||||
:- import_module hlds.goal_form.
|
||||
:- import_module hlds.special_pred.
|
||||
:- import_module libs.compiler_util.
|
||||
:- import_module libs.options.
|
||||
:- import_module parse_tree.prog_util.
|
||||
|
||||
:- import_module char.
|
||||
:- import_module int.
|
||||
:- import_module set.
|
||||
:- import_module string.
|
||||
:- import_module term.
|
||||
:- import_module varset.
|
||||
|
||||
%---------------------------------------------------------------------------%
|
||||
|
||||
|
||||
Reference in New Issue
Block a user