]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: fix typo in result-in-registers case
authorDavid Chase <drchase@google.com>
Wed, 7 Apr 2021 21:03:46 +0000 (17:03 -0400)
committerDavid Chase <drchase@google.com>
Thu, 8 Apr 2021 14:23:47 +0000 (14:23 +0000)
commit912c4e29d3cdabe11db70ed168ddaa4bcc515772
treee39817fdf29fb0fb82d00f700a7d02724b409740
parent1749f3915e55b473bcc281095f41598357d6b70f
reflect: fix typo in result-in-registers case

t is the type of the function that was called
tv is the type of the result

This fixes the failures for
GOEXPERIMENT=regabi,regabiargs go test go test text/template
GOEXPERIMENT=regabi,regabiargs go test go test html/template

Updates #40724.

Change-Id: Ic9b02d72d18ff48c9de1209987cc39da619c2241
Reviewed-on: https://go-review.googlesource.com/c/go/+/308189
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/reflect/value.go