You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/03/23 15:12:15 UTC
DO NOT REPLY [Bug 7386] -
Problems with string and numerical literals in boolean expressions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7386
Problems with string and numerical literals in boolean expressions
geirm@optonline.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From geirm@optonline.net 2002-03-23 14:12 -------
This is due to the fact that you are misinterpreting the semantics of #if().
This isn't C - #if(), which I think is broken in other ways, checks to see if
either it's boolean valued (and true) or in the context. The literal 1 or 'foo'
are neither... Marking as not a bug - feel free to debate on the list. We can
always just re-open
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>