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

Issue 5685049: code review 5685049: html/template: don't indirect past a Stringer (Closed)

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

Description

html/template: don't indirect past a Stringer While we're here, get rid of the old names for the escaping functions. Fixes issue 3073.

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -47 lines) Patch
M src/pkg/html/template/content.go View 2 chunks +17 lines, -1 line 0 comments Download
M src/pkg/html/template/content_test.go View 2 chunks +40 lines, -0 lines 0 comments Download
M src/pkg/html/template/escape.go View 5 chunks +46 lines, -46 lines 0 comments Download

Messages

Total messages: 4
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years, 3 months ago (2012-02-20 03:00:13 UTC) #1
dsymonds
LGTM what about in the other direction? e.g. passing a T that has String/Error method ...
13 years, 3 months ago (2012-02-20 03:04:30 UTC) #2
rsc
On Sun, Feb 19, 2012 at 22:04, <dsymonds@golang.org> wrote: > what about in the other ...
13 years, 3 months ago (2012-02-20 03:17:26 UTC) #3
r
13 years, 3 months ago (2012-02-20 03:23:50 UTC) #4
*** Submitted as c76997f376a5 ***

html/template: don't indirect past a Stringer

While we're here, get rid of the old names for the escaping functions.

Fixes issue 3073.

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

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