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

Issue 4442071: code review 4442071: gc: correct handling of unexported method names in embe... (Closed)

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

Description

gc: correct handling of unexported method names in embedded interfaces go/types: update for export data format change reflect: require package qualifiers to match during interface check runtime: require package qualifiers to match during interface check test: fixed bug324, adapt to be silent Fixes issue 1550. Issue 1536 remains open.

Patch Set 1 #

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

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -57 lines) Patch
M src/cmd/gc/go.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/go.y View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/cmd/gc/reflect.c View 1 4 chunks +38 lines, -25 lines 0 comments Download
M src/cmd/gc/subr.c View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/go/types/gcimporter.go View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/pkg/reflect/all_test.go View 1 2 chunks +16 lines, -16 lines 0 comments Download
M src/pkg/reflect/type.go View 1 2 chunks +2 lines, -6 lines 0 comments Download
M src/pkg/runtime/iface.c View 1 3 chunks +3 lines, -2 lines 0 comments Download
M test/fixedbugs/bug324.go View 1 1 chunk +1 line, -1 line 0 comments Download
M test/fixedbugs/bug324.dir/main.go View 1 2 chunks +6 lines, -1 line 0 comments Download
M test/fixedbugs/bug324.dir/p.go View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M test/golden.out View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 6
rsc
Hello gri, ken2, r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-04-20 22:45:02 UTC) #1
r
LGTM for reflect and runtime
13 years, 11 months ago (2011-04-20 22:50:57 UTC) #2
gri
LGTM for gcimporter changes and tests http://codereview.appspot.com/4442071/diff/4001/test/fixedbugs/bug324.dir/main.go File test/fixedbugs/bug324.dir/main.go (right): http://codereview.appspot.com/4442071/diff/4001/test/fixedbugs/bug324.dir/main.go#newcode46 test/fixedbugs/bug324.dir/main.go:46: x = px.(Exported) ...
13 years, 11 months ago (2011-04-20 23:06:48 UTC) #3
rsc
> test/fixedbugs/bug324.dir/main.go:46: x = px.(Exported) > couldn't this be a compile-time failure? it could but ...
13 years, 11 months ago (2011-04-20 23:25:53 UTC) #4
gri
LGTM. ok. seems perfectly reasonable. - gri On Wed, Apr 20, 2011 at 4:25 PM, ...
13 years, 11 months ago (2011-04-21 00:03:02 UTC) #5
rsc
13 years, 11 months ago (2011-04-21 12:14:57 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=ca71e7735593 ***

gc: correct handling of unexported method names in embedded interfaces
go/types: update for export data format change
reflect: require package qualifiers to match during interface check
runtime: require package qualifiers to match during interface check
test: fixed bug324, adapt to be silent

Fixes issue 1550.
Issue 1536 remains open.

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

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