Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(89)

Issue 5543055: code review 5543055: template: for range on a map, sort the keys if feasible. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by r
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

template: for range on a map, sort the keys if feasible. Fixes issue 2696.

Patch Set 1 #

Patch Set 2 : diff -r f5142a5cac19 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -17 lines) Patch
M src/pkg/text/template/doc.go View 1 chunk +3 lines, -1 line 0 comments Download
M src/pkg/text/template/exec.go View 1 3 chunks +43 lines, -1 line 0 comments Download
M src/pkg/text/template/exec_test.go View 3 chunks +2 lines, -15 lines 0 comments Download

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 4 months ago (2012-01-13 22:00:51 UTC) #1
rsc
LGTM if len(v) == 0 { can be if len(v) <= 1 {
12 years, 4 months ago (2012-01-13 22:04:30 UTC) #2
r
12 years, 4 months ago (2012-01-13 22:09:16 UTC) #3
*** Submitted as 11bb73c84e6c ***

template: for range on a map, sort the keys if feasible.
Fixes issue 2696.

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5543055
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b