]> Cypherpunks repositories - gostls13.git/commit
reflect: add tests for variadic method calls
authorIan Lance Taylor <iant@golang.org>
Wed, 8 Oct 2014 22:48:46 +0000 (15:48 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Oct 2014 22:48:46 +0000 (15:48 -0700)
commit6920b2a1f93a2ff6876eafc7f8747e82aa59d015
tree6f39a460fdf22b12a27debeefeeb4ea83823e4a9
parent83367781f56938de67b71b2e272f5222b8d34484
reflect: add tests for variadic method calls

These tests fail when using gccgo.  In gccgo using Interface
on the value of a method function is implemented using a
variant of MakeFunc.  That approach did not correctly handle
variadic functions.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/151280043
src/reflect/all_test.go