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

Issue 6488069: code review 6488069: cmd/go: be clear that import loops are bad (Closed)

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

Description

cmd/go: be clear that import loops are bad There was mail on golang-nuts a few weeks ago from someone who understood the message perfectly and knew he had a cyclic dependency but assumed that Go, like Python or Java, was supposed to handle it.

Patch Set 1 #

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

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/cmd/go/pkg.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 8 months ago (2012-08-31 22:11:46 UTC) #1
bradfitz
LGTM On Aug 31, 2012 12:11 PM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > > Message: ...
12 years, 8 months ago (2012-08-31 22:16:21 UTC) #2
dave_cheney.net
LGTM. http://codereview.appspot.com/6488069/diff/4001/src/cmd/go/pkg.go File src/cmd/go/pkg.go (right): http://codereview.appspot.com/6488069/diff/4001/src/cmd/go/pkg.go#newcode253 src/cmd/go/pkg.go:253: Err: "import cycle not allowed", nit: maybe "cyclical ...
12 years, 8 months ago (2012-08-31 22:25:00 UTC) #3
rsc
> src/cmd/go/pkg.go:253: Err: "import cycle not allowed", > nit: maybe "cyclical import not allowed" i ...
12 years, 8 months ago (2012-09-01 13:41:40 UTC) #4
dave_cheney.net
Sure thing, LGTM. On Sat, Sep 1, 2012 at 11:41 PM, Russ Cox <rsc@golang.org> wrote: ...
12 years, 8 months ago (2012-09-01 13:42:59 UTC) #5
rsc
12 years, 8 months ago (2012-09-01 14:35:08 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=f697709b5082 ***

cmd/go: be clear that import loops are bad

There was mail on golang-nuts a few weeks ago
from someone who understood the message perfectly
and knew he had a cyclic dependency but assumed
that Go, like Python or Java, was supposed to handle it.

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

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