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

Issue 101330055: code review 101330055: reflect: ArrayOf, FuncOf, InterfaceOf, and StructOf.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by crc
Modified:
9 years, 5 months ago
Reviewers:
CC:
golang-codereviews, iant, gmk, adonovan
Visibility:
Public.

Description

reflect: ArrayOf, FuncOf, InterfaceOf, and StructOf. Add missing type creation functionality to reflect. Fixes issue 5748. Fixes issue 5996.

Patch Set 1 #

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

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

Total comments: 33
Unified diffs Side-by-side diffs Delta from patch set Stats (+1381 lines, -57 lines) Patch
M src/cmd/gc/reflect.c View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/cmd/ld/go.c View 1 1 chunk +6 lines, -6 lines 2 comments Download
A src/pkg/reflect/alg.go View 1 1 chunk +104 lines, -0 lines 4 comments Download
M src/pkg/reflect/all_test.go View 1 5 chunks +392 lines, -0 lines 11 comments Download
M src/pkg/reflect/export_test.go View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/pkg/reflect/type.go View 1 11 chunks +546 lines, -26 lines 14 comments Download
M src/pkg/runtime/alg.goc View 1 4 chunks +107 lines, -0 lines 2 comments Download
M src/pkg/runtime/export_test.go View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/pkg/runtime/hashmap.goc View 1 11 chunks +15 lines, -15 lines 0 comments Download
M src/pkg/runtime/iface.goc View 1 6 chunks +19 lines, -9 lines 0 comments Download
M src/pkg/runtime/iface_test.go View 1 2 chunks +147 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M src/pkg/runtime/type.h View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 8
crc
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 11 months ago (2014-06-21 23:24:56 UTC) #1
iant
https://codereview.appspot.com/101330055/diff/40001/src/cmd/ld/go.c File src/cmd/ld/go.c (right): https://codereview.appspot.com/101330055/diff/40001/src/cmd/ld/go.c#newcode608 src/cmd/ld/go.c:608: // keep each beginning with 'typelink.' I think this ...
9 years, 11 months ago (2014-06-23 03:31:31 UTC) #2
gmk
https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/all_test.go File src/pkg/reflect/all_test.go (right): https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/all_test.go#newcode3486 src/pkg/reflect/all_test.go:3486: // even though it is not refered to by ...
9 years, 11 months ago (2014-06-23 09:18:26 UTC) #3
adonovan
https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/type.go File src/pkg/reflect/type.go (right): https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/type.go#newcode2040 src/pkg/reflect/type.go:2040: // Embedded field I haven't looked at the whole ...
9 years, 10 months ago (2014-06-26 16:39:19 UTC) #4
crc
Thank you for you comments. It seems I have not fully considered the case when ...
9 years, 10 months ago (2014-07-05 18:09:20 UTC) #5
adonovan
https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/type.go File src/pkg/reflect/type.go (right): https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/type.go#newcode2040 src/pkg/reflect/type.go:2040: // Embedded field My advice would be simply to ...
9 years, 10 months ago (2014-07-07 08:52:15 UTC) #6
gmk
https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/all_test.go File src/pkg/reflect/all_test.go (right): https://codereview.appspot.com/101330055/diff/40001/src/pkg/reflect/all_test.go#newcode3695 src/pkg/reflect/all_test.go:3695: runtime.GC() On 2014/07/05 18:09:19, crc wrote: > On 2014/06/23 ...
9 years, 10 months ago (2014-07-13 12:39:47 UTC) #7
gobot
9 years, 5 months ago (2014-12-19 05:02:43 UTC) #8
R=close

To the author of this CL:

The Go project has moved to Gerrit Code Review.

If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.

If there has been discussion on this CL, please give a link to it
(golang.org/cl/NNNNNNN is best) in the description in your
new CL.

Thanks very much.
Sign in to reply to this message.

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