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 10:20:13 UTC
DO NOT REPLY [Bug 7384] New: -
#macro silently does nothing if the macro name is a reference
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=7384>.
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=7384
#macro silently does nothing if the macro name is a reference
Summary: #macro silently does nothing if the macro name is a
reference
Product: Velocity
Version: 1.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Source
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: ddekany@freemail.hu
IMO the code below should either define foo or throw a parse error:
#set($x = 'foo')
#macro($x)
bar
#end
Tried with 1.2 Stable and 1.3 Nightly 22/03
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>