Mercury Bugs - mercury
View Issue Details
0000411mercuryBugpublic2016-06-22 14:032017-08-22 10:38
Reporterwangp 
Assigned Towangp 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000411: abstract type not hidden
DescriptionIn the test case, foo.m exports an abstract type `foo' but bar.m is able to see that it is an equivalence type for int.

Of the compilers I have installed:
mercury-srcdist-rotd-2015-07-01 works correctly
mercury-srcdist-rotd-2015-08-10 is broken
Steps To Reproducemmc -m bar.m
TagsNo tags attached.
Attached Files? foo.m (426) 2016-06-22 14:03
https://bugs.mercurylang.org/file_download.php?file_id=257&type=bug
? bar.m (410) 2016-06-22 14:04
https://bugs.mercurylang.org/file_download.php?file_id=258&type=bug

Notes
(0000886)
wangp   
2016-06-22 14:08   
Oops, the step to reproduce is obviously "mmc -m bar" without the .m suffix.
(0000954)
wangp   
2017-06-22 15:38   
I nearly filed this bug again, having forgotten about it. Strange coincidence!
(0000957)
wangp   
2017-08-22 10:38   
Fix committed.

Issue History
2016-06-22 14:03wangpNew Issue
2016-06-22 14:03wangpFile Added: foo.m
2016-06-22 14:04wangpFile Added: bar.m
2016-06-22 14:08wangpNote Added: 0000886
2016-08-01 21:47zsAssigned To => zs
2016-08-01 21:47zsStatusnew => assigned
2017-06-22 15:38wangpNote Added: 0000954
2017-08-22 10:38wangpAssigned Tozs => wangp
2017-08-22 10:38wangpStatusassigned => resolved
2017-08-22 10:38wangpResolutionopen => fixed
2017-08-22 10:38wangpNote Added: 0000957