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

Issue 122850043: code review 122850043: cmd/cgo: fix recursive type mapping (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by mdempsky
Modified:
9 years, 8 months ago
Reviewers:
gobot, dave, iant
CC:
golang-codereviews, iant
Visibility:
Public.

Description

cmd/cgo: fix recursive type mapping Instead of immediately completing pointer type mappings, add them to a queue to allow them to be completed later. This fixes issues caused by Type() returning arbitrary in-progress type mappings. Fixes issue 8368. Fixes issue 8441.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 6b696a34e0af https://code.google.com/p/go #

Patch Set 6 : diff -r 6b696a34e0af https://code.google.com/p/go #

Patch Set 7 : diff -r 6b696a34e0af https://code.google.com/p/go #

Patch Set 8 : diff -r 6b696a34e0af https://code.google.com/p/go #

Total comments: 2

Patch Set 9 : diff -r 6b696a34e0af https://code.google.com/p/go #

Patch Set 10 : diff -r f56df0219bda https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -13 lines) Patch
A misc/cgo/test/issue8441.go View 1 chunk +27 lines, -0 lines 0 comments Download
M src/cmd/cgo/gcc.go View 8 chunks +44 lines, -13 lines 0 comments Download

Messages

Total messages: 9
mdempsky
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
9 years, 8 months ago (2014-08-05 00:40:11 UTC) #1
mdempsky
While playing around with fixes for issue 5253, I noticed a crash in "go tool ...
9 years, 8 months ago (2014-08-05 19:47:23 UTC) #2
iant
On 2014/08/05 19:47:23, mdempsky wrote: > While playing around with fixes for issue 5253, I ...
9 years, 8 months ago (2014-08-05 20:52:03 UTC) #3
iant
https://codereview.appspot.com/122850043/diff/140001/src/cmd/cgo/gcc.go File src/cmd/cgo/gcc.go (right): https://codereview.appspot.com/122850043/diff/140001/src/cmd/cgo/gcc.go#newcode555 src/cmd/cgo/gcc.go:555: conv.Finish(pos) The name Finish implies that the method will ...
9 years, 8 months ago (2014-08-06 00:25:47 UTC) #4
mdempsky
https://codereview.appspot.com/122850043/diff/140001/src/cmd/cgo/gcc.go File src/cmd/cgo/gcc.go (right): https://codereview.appspot.com/122850043/diff/140001/src/cmd/cgo/gcc.go#newcode555 src/cmd/cgo/gcc.go:555: conv.Finish(pos) On 2014/08/06 00:25:47, iant wrote: > The name ...
9 years, 8 months ago (2014-08-06 00:42:41 UTC) #5
iant
LGTM
9 years, 8 months ago (2014-08-06 01:13:38 UTC) #6
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=0015a2541545 *** cmd/cgo: fix recursive type mapping Instead of immediately completing pointer ...
9 years, 8 months ago (2014-08-06 01:17:04 UTC) #7
gobot
This CL appears to have broken the linux-arm-cheney-imx6 builder. See http://build.golang.org/log/553d41ec979e05c0c7fcb329b305cc0773916063
9 years, 8 months ago (2014-08-06 03:05:38 UTC) #8
dave_cheney.net
9 years, 8 months ago (2014-08-06 03:12:28 UTC) #9
I believe this is an unrelated failure.
On 6 Aug 2014 13:05, <gobot@golang.org> wrote:

> This CL appears to have broken the linux-arm-cheney-imx6 builder.
> See http://build.golang.org/log/553d41ec979e05c0c7fcb329b305cc0773916063
>
> https://codereview.appspot.com/122850043/
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-codereviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-codereviews+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
Sign in to reply to this message.

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