Mercury Bugs - mercury
View Issue Details
0000363mercuryBugpublic2014-09-17 17:222015-08-23 14:50
Reporterjuliensf 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000363: misleading error message for missing comma in foreign_proc attribute list
DescriptionThe attached program causes the following error message.

foo.m:009: Error: invalid `:- pragma foreign_proc' declaration: invalid second
foo.m:009: argument: expecting a foreign proc attribute or list of
foo.m:009: attributes.

The invalid argument is the *third* argument, not the second.
TagsNo tags attached.
Attached Files? foo.m (249) 2014-09-17 17:22
https://bugs.mercurylang.org/file_download.php?file_id=227&type=bug

Notes
(0000847)
zs   
2015-08-23 14:50   
Fix committed 2015 aug 23.

Issue History
2014-09-17 17:22juliensfNew Issue
2014-09-17 17:22juliensfFile Added: foo.m
2015-08-23 14:50zsNote Added: 0000847
2015-08-23 14:50zsStatusnew => resolved
2015-08-23 14:50zsResolutionopen => fixed
2015-08-23 14:50zsAssigned To => zs