]> Cypherpunks repositories - gostls13.git/commit
reflect: add a test for Calling a Method of a direct interface type
authorCherry Zhang <cherryyz@google.com>
Wed, 8 May 2019 03:34:13 +0000 (23:34 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 8 May 2019 13:56:52 +0000 (13:56 +0000)
commit2d32d3675ab88d6a3481b866afca4e2aea55210e
tree85a995bab8ce22a740ac252edc214ab766022cf0
parent3403ee524bef9f6d2d69e11410fbf16854447d21
reflect: add a test for Calling a Method of a direct interface type

Gccgo's implementation of direct interface types has bugs that
causes reflect Call of method from Type.Method fail. CL 175837
and CL 175798 fix the bug. This CL adds a test.

Change-Id: I4e5f2cb96304c1ac7be04ca6d2851bac52b8eb24
Reviewed-on: https://go-review.googlesource.com/c/go/+/175880
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/reflect/all_test.go