Mercury Bugs - mercury
View Issue Details
0000230mercuryBugpublic2011-11-21 15:402011-11-23 10:08
Reporterjuliensf 
Assigned Towangp 
PriorityurgentSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000230: submodules inconsistently compiled with direct arg functors
DescriptionThe attached modules exhibit a bug where the direct arg functor optimisation is applied in a submodule
but not in its parent.

(I have a change to the Mercury compiler that I will commit shortly that adds an option that
causes it to print out a summary of what ctors the daf optimisation has been applied to.)
TagsNo tags attached.
Attached Filesgz daf-bug.tar.gz (816) 2011-11-21 15:40
https://bugs.mercurylang.org/file_download.php?file_id=137&type=bug

Notes
(0000407)
juliensf   
2011-11-21 15:57   
I've committed the --debug-type-rep change to the compiler.
(0000408)
wangp   
2011-11-23 10:08   
Fix committed today.

Issue History
2011-11-21 15:40juliensfNew Issue
2011-11-21 15:40juliensfFile Added: daf-bug.tar.gz
2011-11-21 15:41juliensfPrioritynormal => urgent
2011-11-21 15:41juliensfSeverityminor => major
2011-11-21 15:57juliensfNote Added: 0000407
2011-11-23 10:08wangpNote Added: 0000408
2011-11-23 10:08wangpStatusnew => resolved
2011-11-23 10:08wangpResolutionopen => fixed
2011-11-23 10:08wangpAssigned To => wangp