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

Issue 5282042: code review 5282042: gc: disallow close on receive-only channels (Closed)

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

Description

gc: disallow close on receive-only channels Fixes issue 2353. Fixes issue 2246.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M doc/go_spec.html View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M src/cmd/gc/typecheck.c View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/chan.c View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M test/chan/perm.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/closedchan.go View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-10-13 20:19:34 UTC) #1
r
LGTM
13 years, 7 months ago (2011-10-13 20:22:15 UTC) #2
gri
LGTM (spec changes)
13 years, 7 months ago (2011-10-13 20:25:56 UTC) #3
rsc
13 years, 7 months ago (2011-10-13 20:58:10 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=9dfd4d3e763c ***

gc: disallow close on receive-only channels

Fixes issue 2353.
Fixes issue 2246.

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

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