[m-dev.] proposal: extension to pragma obsolete

Mark Brown mark at mercurylang.org
Sun Sep 14 00:51:50 AEST 2014


On Thu, Sep 11, 2014 at 12:35 PM, Zoltan Somogyi
<zoltan.somogyi at runbox.com> wrote:
> This argument would be optional overall (for backward compatibility),
> but would be required if the user wanted to add the third argument,
> which would be a general message (string or list of format components),
> as per Julien's original proposal. When the pragma is triggered,
> this message would be printed AFTER a message that the compiler
> would derive from the second argument.

For any general message argument, I would vote for (1) rather than
(3). I haven't seen any example yet that would warrant the use of
format components, that isn't covered by the specific cases.

Cheers,
Mark.



More information about the developers mailing list