Mercury Bugs - mercury
View Issue Details
0000005mercuryBugpublic2007-09-27 23:392007-10-19 15:11
Assigned Tojuliensf 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000005: bad error message for state vars
DescriptionFrom Wed Aug 15 16:50:01 2007
Date: Wed, 15 Aug 2007 16:51:13 +1000
From: Ondrej Bojar <>
Subject: bad error message for state vars


Here is an error message that wrongly reports the variable name:

oc_tree.m:015: Error: !FTFileName cannot appear as a unification argument.
oc_tree.m:015: You probably meant !.FTFileName or !:FTFileName.

where the actual error I made on that particular line was related to !D:

            !D =,

See the source code attached. (Other errors are correct.)

Thanks, Ondrej.

Ondrej Bojar ( /
TagsNo tags attached.
Attached Files? oc_tree.m (571) 2007-09-27 23:39

2007-10-19 15:11   
Fixed. See log message for revision 1.46 of compiler/add_clause.m.

Issue History
2007-09-27 23:39anonymousNew Issue
2007-09-27 23:39anonymousFile Added: oc_tree.m
2007-10-19 15:11juliensfStatusnew => resolved
2007-10-19 15:11juliensfResolutionopen => fixed
2007-10-19 15:11juliensfAssigned To => juliensf
2007-10-19 15:11juliensfNote Added: 0000038