[m-rev.] for review: fix singleton variable warning problem

Fergus Henderson fjh at cs.mu.OZ.AU
Fri May 31 21:27:52 AEST 2002


On 30-May-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> tests/valid/Mmakefile:
> tests/valid/no_warn_singleton.m:
>     A test case.

Whatever fix is chosen here, I think it would also be a good idea
to add one or more test cases to tests/warnings to test that
we issue proper singleton variable warnings for procedures
defined using a combination of `pragma foreign_proc'
and Mercury clauses (regardless of which is first or last).

If the test case doesn't pass, then it can be added but not
enabled, with an XXX comment in tests/warnings/Mmakefile.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list