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

Issue 43960045: code review 43960045: text/template: don't panic when using AddParseTree with... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by josharian
Modified:
11 years, 6 months ago
Reviewers:
r
CC:
golang-codereviews, r
Visibility:
Public.

Description

text/template: don't panic when using AddParseTree with an unparsed template Fixes issue 7032.

Patch Set 1 #

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

Patch Set 3 : diff -r b3caf13d930b https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r b3caf13d930b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M src/pkg/text/template/multi_test.go View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M src/pkg/text/template/template.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
josharian
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 6 months ago (2013-12-30 18:24:26 UTC) #1
r
https://codereview.appspot.com/43960045/diff/40001/src/pkg/text/template/multi_test.go File src/pkg/text/template/multi_test.go (right): https://codereview.appspot.com/43960045/diff/40001/src/pkg/text/template/multi_test.go#newcode262 src/pkg/text/template/multi_test.go:262: // https://code.google.com/p/go/issues/detail?id=7032 // Issue 7032 is sufficient.
11 years, 6 months ago (2013-12-31 00:33:09 UTC) #2
josharian
https://codereview.appspot.com/43960045/diff/40001/src/pkg/text/template/multi_test.go File src/pkg/text/template/multi_test.go (right): https://codereview.appspot.com/43960045/diff/40001/src/pkg/text/template/multi_test.go#newcode262 src/pkg/text/template/multi_test.go:262: // https://code.google.com/p/go/issues/detail?id=7032 On 2013/12/31 00:33:10, r wrote: > // ...
11 years, 6 months ago (2013-12-31 00:42:52 UTC) #3
r
LGTM
11 years, 6 months ago (2013-12-31 01:10:42 UTC) #4
r
11 years, 6 months ago (2013-12-31 01:17:30 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=959a83dadbb9 ***

text/template: don't panic when using AddParseTree with an unparsed template

Fixes issue 7032.

R=golang-codereviews, r
CC=golang-codereviews
https://codereview.appspot.com/43960045

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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