Mercury Bugs - mercury
View Issue Details
0000083mercuryBugpublic2008-09-11 12:362009-04-06 02:49
Reporterwangp 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000083: ambiguous names in foreign_export
DescriptionThe compiler does the wrong thing if the predicate in a foreign_export is
ambiguous. e.g. for the attached test case

% mmc -C fe
fe.m:018: Error: `:- pragma foreign_export' declaration for `make_io_error'/2
fe.m:018: without corresponding `pred' or `func' declaration.

TagsNo tags attached.
Attached Files? fe.m (844) 2008-09-11 12:36
https://bugs.mercurylang.org/file_download.php?file_id=66&type=bug

Notes
(0000163)
juliensf   
2009-04-06 02:49   
Fixed. See r1.88 of compiler/add_pragma.m for details.

Issue History
2008-09-11 12:36wangpNew Issue
2008-09-11 12:36wangpFile Added: fe.m
2009-04-06 02:49juliensfNote Added: 0000163
2009-04-06 02:49juliensfStatusnew => resolved
2009-04-06 02:49juliensfResolutionopen => fixed
2009-04-06 02:49juliensfAssigned To => juliensf