Mercury Bugs - mercury
View Issue Details
0000132mercuryBugpublic2010-02-02 14:522010-02-02 16:30
Reportermgiuca 
Assigned Tojuliensf 
PrioritynormalSeveritytextReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000132: Typo in make_hlds_warn ("ccur")
DescriptionSmall typo in a warning message in make_hlds_warn.

It prints "warning: variables `A, B' ccur more than once in this scope."
"ccur" should read "occur".

Attached & pasted below is a tiny patch.

--- compiler/make_hlds_warn.m 2009-09-08 18:14:40.000000000 +1000
+++ compiler/make_hlds_warn.m 2010-02-02 14:49:38.000000000 +1100
@@ -386,7 +386,7 @@
                 words("occurs more than once in this scope."), nl]
         ;
             MultiPieces = [words("warning: variables"), MultiVarsPiece,
- words("ccur more than once in this scope."), nl]
+ words("occur more than once in this scope."), nl]
         ),
         MultiMsg = simple_msg(goal_info_get_context(GoalInfo),
             [option_is_set(warn_singleton_vars, yes,
TagsNo tags attached.
Attached Filespatch make_hlds_warn.m.patch (567) 2010-02-02 14:52
https://bugs.mercurylang.org/file_download.php?file_id=94&type=bug

Notes
(0000250)
juliensf   
2010-02-02 16:30   
Fix committed - thanks for that.

Issue History
2010-02-02 14:52mgiucaNew Issue
2010-02-02 14:52mgiucaFile Added: make_hlds_warn.m.patch
2010-02-02 16:30juliensfNote Added: 0000250
2010-02-02 16:30juliensfStatusnew => resolved
2010-02-02 16:30juliensfResolutionopen => fixed
2010-02-02 16:30juliensfAssigned To => juliensf