[m-rev.] for review: checking calls to string.format and io.format

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Jan 27 15:44:28 AEDT 2006


On Wed, 25 Jan 2006, Zoltan Somogyi wrote:

>
> Give the compiler the capability of detecting errors that manifest themselves
> as mismatches between the format string and the list of values to be printed
> in calls to string.format and io.format.
>
> This capability is controlled through two new options:
>
> 	--warn-known-bad-format-call
> 	--warn-unknown-format-call
>
> The first (which will default to "on" once this change has bootstrapped)
> controls whether the compiler emits warnings for statically known mismatches.
> The second (which will default to "off") controls whether the compiler emits
> warnings in cases where either the format string or the structure of the list
> of values to be printed is not available statically to be checked.
>

That looks fine.

Cheers,
Julien.
--------------------------------------------------------------------------
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