[m-rev.] for review: redundant brackets around types in error messages

Ralph Becket rafe at csse.unimelb.edu.au
Thu Apr 16 10:54:06 AEST 2009


Peter Wang, Wednesday, 15 April 2009:
> Does anyone know if this might cause problems?
> 
> 
> Branches: main
> 
> compiler/mercury_to_mercury.m:
> 	Don't write an outer pair of brackets when formatting terms with '.'
> 	or ':' as the functor, which made module-qualified types in error
> 	messages unnecessarily ugly.

I've been meaning to do this for years!  I can't see a problem with it.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list