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

Issue 75370043: code review 75370043: reflect: Fix variadic arg arrangement for funcs created...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by crc
Modified:
11 years, 1 month ago
Reviewers:
khr, rsc
CC:
golang-codereviews, bradfitz, khr, rsc
Visibility:
Public.

Description

reflect: Fix variadic arg arrangement for funcs created by MakeFunc. Short circuit for calling values funcs by MakeFunc was placed before variadic arg rearrangement code in reflect.call. Fixes issue 7534.

Patch Set 1 #

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -11 lines) Patch
M src/pkg/reflect/all_test.go View 1 1 chunk +17 lines, -0 lines 0 comments Download
M src/pkg/reflect/value.go View 1 2 chunks +11 lines, -11 lines 1 comment Download

Messages

Total messages: 6
crc
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org), I'd like you to review this change to https://code.google.com/p/go/
11 years, 2 months ago (2014-03-13 10:51:07 UTC) #1
bradfitz
R=iant On Thu, Mar 13, 2014 at 3:51 AM, <carlchatfield@gmail.com> wrote: > Reviewers: golang-codereviews, > ...
11 years, 2 months ago (2014-03-18 03:09:49 UTC) #2
khr
https://codereview.appspot.com/75370043/diff/40001/src/pkg/reflect/value.go File src/pkg/reflect/value.go (right): https://codereview.appspot.com/75370043/diff/40001/src/pkg/reflect/value.go#newcode510 src/pkg/reflect/value.go:510: // layout of the args. That's bad for precise ...
11 years, 2 months ago (2014-04-04 17:40:28 UTC) #3
rsc
I will apply Keith's suggested change as part of submitting this.
11 years, 1 month ago (2014-04-09 02:16:11 UTC) #4
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=c9b96e83a6b4 *** reflect: fix variadic arg for funcs created by MakeFunc. Short ...
11 years, 1 month ago (2014-04-09 02:35:27 UTC) #5
crc
11 years, 1 month ago (2014-04-09 11:47:12 UTC) #6
Thank you. I am currently traveling and have only just seen the emails now.

Carl
2014/04/09 12:35 <rsc@golang.org>:

> *** Submitted as
> https://code.google.com/p/go/source/detail?r=c9b96e83a6b4 ***
>
> reflect: fix variadic arg for funcs created by MakeFunc.
>
> Short circuit for calling values funcs by MakeFunc was placed
> before variadic arg rearrangement code in reflect.call.
> Fixes issue 7534.
>
> LGTM=khr
> R=golang-codereviews, bradfitz, khr, rsc
> CC=golang-codereviews
> https://codereview.appspot.com/75370043
>
> Committer: Russ Cox <rsc@golang.org>
>
>
> https://codereview.appspot.com/75370043/
>
Sign in to reply to this message.

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