Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000401 | mercury | Bug | public | 2015-12-17 18:00 | 2019-08-04 09:39 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000401: different module import styles in interface and implementation | ||||
Description | In the following test case the module does a `:- use_module' in the interface section, but also `:- import_module' of the same module in the implementation section. % mmc -m int_impl_imports.err int_impl_imports.m:004: In module `int_impl_imports': int_impl_imports.m:004: warning: module `int_impl_imports_2' is imported in int_impl_imports.m:004: the interface, but it is not used in the interface. int_impl_imports.m:006: In definition of type `int_impl_imports.foo'/0: int_impl_imports.m:006: error: undefined type `int_impl_imports_2.bar'/0. int_impl_imports.m:006: (The module `int_impl_imports_2' has not been int_impl_imports.m:006: imported in the interface.) It worked up to at least rotd-2015-10-06 (which I happen to have installed). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | int_impl_imports.m (175) 2015-12-17 18:00 https://bugs.mercurylang.org/file_download.php?file_id=253&type=bug int_impl_imports_2.m (65) 2015-12-17 18:01 https://bugs.mercurylang.org/file_download.php?file_id=254&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2015-12-17 18:00 | wangp | New Issue | |||
2015-12-17 18:00 | wangp | File Added: int_impl_imports.m | |||
2015-12-17 18:01 | wangp | File Added: int_impl_imports_2.m | |||
2015-12-17 18:54 | zs | Assigned To | => zs | ||
2015-12-17 18:54 | zs | Status | new => assigned | ||
2015-12-17 23:38 | zs | Note Added: 0000872 | |||
2015-12-18 15:20 | zs | Note Added: 0000873 | |||
2016-01-14 15:46 | zs | Note Added: 0000875 | |||
2016-01-14 15:46 | zs | Status | assigned => resolved | ||
2016-01-14 15:46 | zs | Resolution | open => fixed | ||
2016-01-18 20:11 | wangp | Note Added: 0000876 | |||
2016-01-18 20:11 | wangp | Status | resolved => feedback | ||
2016-01-18 20:11 | wangp | Resolution | fixed => reopened | ||
2019-08-04 09:39 | zs | Status | feedback => resolved | ||
2019-08-04 09:39 | zs | Resolution | reopened => fixed | ||
2019-08-04 09:39 | zs | Note Added: 0001041 |