AngelDoReMi / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

EvalVisitor#visitMapLiteralNode should use a LinkedHashMap for predictable iteration order #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Line 181 of com.google.template.soy.sharedpasses.render.EvalVisitor uses 
Maps.newHashMap() to collect the items of a map literal, leading to 
unpredictable iteration order in the resulting SoyMapData. 

(SoyMapData uses a LinkedHashMap internally, probably for this reason.)

Original issue reported on code.google.com by o...@fleaflicker.com on 10 Apr 2014 at 7:49

GoogleCodeExporter commented 8 years ago
Closure Templates has migrated to GitHub: 
https://github.com/google/closure-templates. Please reopen this there if it's 
still an issue.

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:11

GoogleCodeExporter commented 8 years ago

Original comment by brendan....@gmail.com on 27 Feb 2015 at 12:11