On Nov 22, 2007 6:30 AM, Claude Brisson <[EMAIL PROTECTED]> wrote:
> Hi dev,
>
> I'd like to change the behaviour of #set($foo = $evaluates_to_null)
>
> The current behaviour is to log (debug loglevel) the message "RHS of
> #set statement is null...".
>
> What I'd like to do:
>
>  - set the loglevel of this message to warn
>
>  - don't log anything if the left reference is quiet, as in
>         #set($!foo = $evaluates_to_null)
>    (this syntax is already allowed but does nothing special)
>
> This will allow template coders
>  - to anticipate whether an assignment can be null

+1

>  - to be warned if another assignment is null for a warn loglevel

-0  it still seems like it's mostly a debugging issue.



> Any objection?
>
>
>   Claude
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to