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

Issue 180053: runtime: return zero value in x, ok = <-c when ok == false (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 7 months ago by rsc
Modified:
15 years, 7 months ago
Reviewers:
ken3
CC:
ken2
Visibility:
Public.

Description

runtime: return zero value in x, ok = <-c when ok == false Fixes issue 401.

Patch Set 1 #

Patch Set 2 : code review 180053: runtime: return zero value in x, ok = <-c when ok == false #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M src/pkg/runtime/chan.c View 2 chunks +2 lines, -0 lines 0 comments Download
A test/fixedbugs/bug234.go View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 2
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=de6958a12b48 *** runtime: return zero value in x, ok = <-c when ...
15 years, 7 months ago (2009-12-16 00:59:25 UTC) #1
ken3
15 years, 7 months ago (2009-12-16 01:32:23 UTC) #2
On 2009/12/16 00:59:25, rsc wrote:
> *** Submitted as http://code.google.com/p/go/source/detail?r=de6958a12b48 ***
> 
> runtime: return zero value in x, ok = <-c when ok == false
> 
> Fixes issue 401.
> 
> R=ken2
> http://codereview.appspot.com/180053

LGTM
Sign in to reply to this message.

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