aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic.go
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-03-29 16:07:18 -0700
committerDan Scales <danscales@google.com>2021-03-30 19:44:38 +0000
commit1318fb4a32371311688c6b868c3041f0501b6aeb (patch)
treec109d6aceab1e1373324cfd98e983febd4981262 /src/runtime/panic.go
parent3300390ec70c6b8e2392e4ab32342d426e2d3532 (diff)
downloadgo-1318fb4a32371311688c6b868c3041f0501b6aeb.tar.xz
cmd/compile: handle partial type inference that doesn't require function args
Handle the case where types can be partially inferred for an instantiated function that is not immediately called. The key for the Inferred map is the CallExpr (if inferring types required the function arguments) or the IndexExpr (if types could be inferred without the function arguments). Added new tests for the case where the function isn't immediately called to typelist.go. Change-Id: I60f503ad67cd192da2f2002060229efd4930dc39 Reviewed-on: https://go-review.googlesource.com/c/go/+/305909 Trust: Dan Scales <danscales@google.com> Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Dan Scales <danscales@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/runtime/panic.go')
0 files changed, 0 insertions, 0 deletions