reflect: correctly handle direct interface typed receiver in Value.call
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 May 2019 04:39:19 +0000 (04:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 May 2019 04:39:19 +0000 (04:39 +0000)
commitb65b77cc80885f72f710da4134f05fc6b12fc8c5
tree8e3610361be26c2dac6c5862abb45933735ee1fc
parentd9b120ce89f7198d1a82727f54e0563321a2cba8
reflect: correctly handle direct interface typed receiver in Value.call

    A direct interface type's value method takes value receiver now.
    Don't pass pointer to the method function.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/175798

From-SVN: r271000
gcc/go/gofrontend/MERGE
libgo/go/reflect/value.go