antlr / stringtemplate4

StringTemplate 4
http://www.stringtemplate.org
Other
955 stars 231 forks source link

Unsupported option listed in javadoc #192

Closed mohideen closed 7 years ago

mohideen commented 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.

sharwell commented 7 years ago

Thanks for the report!

This one is a duplicate of #113.