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

Issue 9269043: code review 9269043: go/token: let FileSet.AddFile take a negative base (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by bradfitz
Modified:
10 years, 11 months ago
Reviewers:
r, dvyukov
CC:
gri, golang-dev
Visibility:
Public.

Description

go/token: let FileSet.AddFile take a negative base Negative base now means "automatic". Fixes a higher level race. Fixes issue 5418

Patch Set 1 #

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

Total comments: 1

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

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

Total comments: 2

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

Patch Set 6 : diff -r bbe324079abe https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 8f1fb6b6f141 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M src/pkg/go/parser/parser.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/token/position.go View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M src/pkg/go/token/position_test.go View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 9
gri
LGTM https://codereview.appspot.com/9269043/diff/2001/src/pkg/go/parser/parser.go File src/pkg/go/parser/parser.go (right): https://codereview.appspot.com/9269043/diff/2001/src/pkg/go/parser/parser.go#newcode67 src/pkg/go/parser/parser.go:67: p.file = fset.AddFile(filename, -1, len(src)) There's probably a ...
10 years, 11 months ago (2013-05-07 17:36:52 UTC) #1
bradfitz
Hello gri@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 11 months ago (2013-05-07 18:46:06 UTC) #2
gri
LGTM but please fix the size check https://codereview.appspot.com/9269043/diff/8001/src/pkg/go/token/position.go File src/pkg/go/token/position.go (right): https://codereview.appspot.com/9269043/diff/8001/src/pkg/go/token/position.go#newcode317 src/pkg/go/token/position.go:317: // size ...
10 years, 11 months ago (2013-05-07 19:37:30 UTC) #3
bradfitz
Hello gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 11 months ago (2013-05-07 20:25:51 UTC) #4
gri
LGTM
10 years, 11 months ago (2013-05-07 20:31:54 UTC) #5
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=fc43aa020e01 *** go/token: let FileSet.AddFile take a negative base Negative base now ...
10 years, 11 months ago (2013-05-14 16:30:17 UTC) #6
dvyukov
Are we already unfreezed?
10 years, 11 months ago (2013-05-14 16:42:40 UTC) #7
bradfitz
I was told "submit away" Go 1.1 is branched. On Tue, May 14, 2013 at ...
10 years, 11 months ago (2013-05-14 16:45:33 UTC) #8
r
10 years, 11 months ago (2013-05-14 16:50:55 UTC) #9
I'd prefer to take it easy but with the mad rush I feel like a
one-armed traffic cop controlling visitor's day at the nudist colony.

-rob
Sign in to reply to this message.

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