View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0000490 | mercury | Feature Request | public | 2020-01-11 18:18 | 2020-01-11 18:18 | ||||||||
Reporter | zs | ||||||||||||
Assigned To | zs | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||||||
Status | assigned | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000490: when importing A.B, do not require importing A | ||||||||||||
Description | Currently, a module X that imports A.B must also import A; if it does not, it gets an error about A.B being inaccessible. This makes C unnecessarily dependent on A, which is undesirable; for example, it leads to X having to be recompiled when a new submodule A.C gets added to A, even though X has nothing to do with A.C. This issue was discussed on m-rev in november of 2015 in a thread named "should we break up module_qual.m". This discussion reached a concensus in favour of this change. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|