Description
The fix for VELOCITY-615 was too radical, since it completely disables #setting new values to the formal arguments. A minimalistic example that used to work up to 1.6 (but not with 1.6.1) is:
#macro(myMacro $result)
#set($result = 'some value')
#end
#myMacro($x)
$x
which prints $x (as an undefined variable).
Attachments
Attachments
Issue Links
- relates to
-
VELOCITY-615 Inconsistent macro bahaviour in cached and non-cached modes
- Closed