[stringtemplate-interest] auto-flattening lists
Terence Parr
parrt at cs.usfca.edu
Thu Nov 8 18:06:03 PST 2007
Hi, added a bug
http://www.antlr.org:8888/browse/ST-29
mentioned by John Synders at
http://hardlikesoftware.com/weblog/2007/06/01/thoughts-on-
stringtemplate-part-1/
I note in my code this for setAttribute:
* If you send in a List plus other values to the same
* attribute, they all get flattened into one List of values.
* This will be a new list object so that incoming objects are
* not altered.
What is correct functionality? If you send in a list of names and
then "Ter", should it add "Ter" to the list or should the attribute
be a 2-element list with a list as first element and string as 2nd?
Ter
More information about the stringtemplate-interest
mailing list