|
[release-branch.r60] reflect: disallow Interface method on Value obtained via unexported name
exp/datafmt is incompatible with this change, so delete it.
It was scheduled for deletion soon anyway.
««« CL 5266054 / f798c2579fbd
reflect: disallow Interface method on Value obtained via unexported name
Had been allowing it for use by fmt, but it is too hard to lock down.
Fix other packages not to depend on it.
R=r, r
CC=golang-dev
http://codereview.appspot.com/5266054
»»»
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+288 lines, -1588 lines) |
Patch |
|
M |
src/pkg/Makefile
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
R |
src/pkg/exp/datafmt/Makefile
|
View
|
1
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
R |
src/pkg/exp/datafmt/datafmt.go
|
View
|
1
|
1 chunk |
+0 lines, -710 lines |
0 comments
|
Download
|
|
R |
src/pkg/exp/datafmt/datafmt_test.go
|
View
|
1
|
1 chunk |
+0 lines, -330 lines |
0 comments
|
Download
|
|
R |
src/pkg/exp/datafmt/parser.go
|
View
|
1
|
1 chunk |
+0 lines, -368 lines |
0 comments
|
Download
|
|
M |
src/pkg/fmt/fmt_test.go
|
View
|
1
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/pkg/fmt/print.go
|
View
|
1
|
22 chunks |
+154 lines, -97 lines |
0 comments
|
Download
|
|
M |
src/pkg/reflect/all_test.go
|
View
|
1
|
4 chunks |
+90 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/pkg/reflect/deepequal.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/pkg/reflect/value.go
|
View
|
1
|
3 chunks |
+15 lines, -16 lines |
0 comments
|
Download
|
|
M |
test/interface/fake.go
|
View
|
1
|
2 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
Total messages: 4
|