|
runtime, type switch: eliminate package global name space assumption
bonus: type switch now detects multiple uses of identical interface types.
bonus: interface types are now order-independent, following the spec.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+424 lines, -168 lines) |
Patch |
 |
M |
src/cmd/gc/go.h
|
View
|
|
4 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/reflect.c
|
View
|
|
8 chunks |
+38 lines, -33 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/subr.c
|
View
|
|
8 chunks |
+52 lines, -37 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/swt.c
|
View
|
|
6 chunks |
+98 lines, -67 lines |
0 comments
|
Download
|
 |
M |
src/cmd/gc/typecheck.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/reflect/type.go
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/reflect/value.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/iface.c
|
View
|
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/type.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/runtime/type.go
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
A |
test/fixedbugs/bug248.go
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/fixedbugs/bug248.dir/bug0.go
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/fixedbugs/bug248.dir/bug1.go
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/fixedbugs/bug248.dir/bug2.go
|
View
|
1
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/fixedbugs/bug248.dir/bug3.go
|
View
|
1
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/golden.out
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
test/typeswitch2.go
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3
|