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

Issue 4810060: code review 4810060: exp/template: fix endless loop (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by gri
Modified:
13 years, 1 month ago
Reviewers:
CC:
r, r2, golang-dev
Visibility:
Public.

Description

exp/template: fix endless loop No progress was made in indirect() if the reflect.Value was an non-nil and non-empty interface.

Patch Set 1 #

Patch Set 2 : diff -r 05db05feb3bc https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 05db05feb3bc https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 4 : diff -r b7a6a0b381b7 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r b7a6a0b381b7 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M src/pkg/exp/template/exec.go View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/exp/template/exec_test.go View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9
gri
Hello r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2011-07-30 02:16:26 UTC) #1
r
LGTM it does look like a bug can you add a test that broke before ...
13 years, 2 months ago (2011-07-30 03:35:35 UTC) #2
gri
1) Your suggestions won't work, see below. 2) Do you have a concrete suggestion for ...
13 years, 2 months ago (2011-07-30 16:48:40 UTC) #3
r2
On Jul 30, 2011, at 9:48 AM, gri@golang.org wrote: > 1) Your suggestions won't work, ...
13 years, 2 months ago (2011-07-30 16:52:13 UTC) #4
gri
>> 2) Do you have a concrete suggestion for a test? This is an endless ...
13 years, 2 months ago (2011-07-30 17:00:48 UTC) #5
r2
On Jul 30, 2011, at 10:00 AM, Robert Griesemer wrote: >>> 2) Do you have ...
13 years, 2 months ago (2011-07-30 17:01:50 UTC) #6
gri
PTAL. Added a test case that terminates now, and didn't w/o the fix.
13 years, 2 months ago (2011-07-30 19:24:36 UTC) #7
r
LGTM thanks
13 years, 2 months ago (2011-07-30 21:24:59 UTC) #8
gri
13 years, 2 months ago (2011-07-31 00:12:00 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=aff321288dc0 ***

exp/template: fix endless loop

No progress was made in indirect() if the reflect.Value
was an non-nil and non-empty interface.

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

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