Closed mohideen closed 7 years ago
https://github.com/antlr/stringtemplate4/blob/f6d8a529e00f3dd79c7ea459a685775b84621989/src/org/stringtemplate/v4/ST.java#L566
The ST.format javadoc suggests that it supports named parameter rendering ST.format("<name>:<phone>", "name", x, "phone", y); while the implementation only supports number based arguments.
ST.format("<name>:<phone>", "name", x, "phone", y);
Thanks for the report!
This one is a duplicate of #113.
https://github.com/antlr/stringtemplate4/blob/f6d8a529e00f3dd79c7ea459a685775b84621989/src/org/stringtemplate/v4/ST.java#L566
The ST.format javadoc suggests that it supports named parameter rendering
ST.format("<name>:<phone>", "name", x, "phone", y);
while the implementation only supports number based arguments.