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

Issue 124740043: code review 124740043: compiler: Change return type comma-ok assignments to un...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by cmang
Modified:
11 years, 3 months ago
Reviewers:
iant
CC:
iant, gri, gofrontend-dev_googlegroups.com
Visibility:
Public.

Description

compiler: Change return type comma-ok assignments to untyped bools. Fixes https://code.google.com/p/go/issues/detail?id=8476. The test will be submitted once this is fixed in gc and go/types.

Patch Set 1 #

Patch Set 2 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Patch Set 3 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Patch Set 4 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Patch Set 5 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Patch Set 6 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Total comments: 2

Patch Set 7 : diff -r c4aba782c0cb https://code.google.com/p/gofrontend #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M go/runtime.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M go/statements.cc View 3 chunks +8 lines, -3 lines 1 comment Download

Messages

Total messages: 14
cmang
Hello iant@golang.org (cc: gofrontend-dev@googlegroups.com, gri@golang.org), I'd like you to review this change to https://code.google.com/p/gofrontend
11 years, 3 months ago (2014-08-05 21:56:54 UTC) #1
cmang
On 2014/08/05 21:56:54, cmang wrote: > Hello mailto:iant@golang.org (cc: mailto:gofrontend-dev@googlegroups.com, mailto:gri@golang.org), > > I'd like ...
11 years, 3 months ago (2014-08-05 22:09:55 UTC) #2
gri
On 2014/08/05 22:09:55, cmang wrote: > On 2014/08/05 21:56:54, cmang wrote: > > Hello mailto:iant@golang.org ...
11 years, 3 months ago (2014-08-05 22:11:25 UTC) #3
iant
This gives a compiler crash for package main func main() { m := make(map[string]int) a, ...
11 years, 3 months ago (2014-08-05 22:26:30 UTC) #4
cmang
On 2014/08/05 22:26:30, iant wrote: > This gives a compiler crash for > > package ...
11 years, 3 months ago (2014-08-08 14:31:53 UTC) #5
iant
Sorry, I just thought of another approach that might be simpler. These are cases where ...
11 years, 3 months ago (2014-08-09 00:14:16 UTC) #6
cmang
On 2014/08/09 00:14:16, iant wrote: > Sorry, I just thought of another approach that might ...
11 years, 3 months ago (2014-08-11 14:51:35 UTC) #7
iant
https://codereview.appspot.com/124740043/diff/100001/go/statements.cc File go/statements.cc (right): https://codereview.appspot.com/124740043/diff/100001/go/statements.cc#newcode1153 go/statements.cc:1153: Statement::make_temporary((this->present_->type()->is_sink_type()) I would guess that it would work if ...
11 years, 3 months ago (2014-08-11 16:39:26 UTC) #8
cmang
https://codereview.appspot.com/124740043/diff/100001/go/statements.cc File go/statements.cc (right): https://codereview.appspot.com/124740043/diff/100001/go/statements.cc#newcode1153 go/statements.cc:1153: Statement::make_temporary((this->present_->type()->is_sink_type()) On 2014/08/11 16:39:26, iant wrote: > I would ...
11 years, 3 months ago (2014-08-11 16:50:19 UTC) #9
iant
https://codereview.appspot.com/124740043/diff/120001/go/statements.cc File go/statements.cc (right): https://codereview.appspot.com/124740043/diff/120001/go/statements.cc#newcode1154 go/statements.cc:1154: ? Type::make_boolean_type() If you use make_boolean_type, then I don't ...
11 years, 3 months ago (2014-08-11 17:22:11 UTC) #10
cmang
On 2014/08/11 17:22:11, iant wrote: > https://codereview.appspot.com/124740043/diff/120001/go/statements.cc > File go/statements.cc (right): > > https://codereview.appspot.com/124740043/diff/120001/go/statements.cc#newcode1154 > ...
11 years, 3 months ago (2014-08-11 18:17:05 UTC) #11
cmang
On 2014/08/11 18:17:05, cmang wrote: > On 2014/08/11 17:22:11, iant wrote: > > https://codereview.appspot.com/124740043/diff/120001/go/statements.cc > ...
11 years, 3 months ago (2014-08-11 18:21:46 UTC) #12
iant
LGTM Thanks.
11 years, 3 months ago (2014-08-11 19:23:56 UTC) #13
iant
11 years, 3 months ago (2014-08-11 19:25:58 UTC) #14
*** Submitted as https://code.google.com/p/gofrontend/source/detail?r=f66917501eac *** compiler: Change return type comma-ok assignments to untyped bools. Fixes https://code.google.com/p/go/issues/detail?id=8476. The test will be submitted once this is fixed in gc and go/types. LGTM=iant R=iant, gri CC=gofrontend-dev https://codereview.appspot.com/124740043 Committer: Ian Lance Taylor <iant@golang.org>
Sign in to reply to this message.

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