]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix function contains no TParam in generic function
authorkorzhao <korzhao95@gmail.com>
Wed, 25 Aug 2021 08:01:49 +0000 (16:01 +0800)
committerDan Scales <danscales@google.com>
Wed, 25 Aug 2021 19:06:16 +0000 (19:06 +0000)
commit3d667671ad767d66bf792c5a8d623cb829f6366a
treeed7c037425189a85e794b462e027b5a397e03b5b
parent4f2ebfe34be7453ab144d82558cc4e735a55d644
cmd/compile: fix function contains no TParam in generic function

Fixes #47948

Change-Id: I446a9548265d195ae4d88aff6b1361474d1b6214
Reviewed-on: https://go-review.googlesource.com/c/go/+/344910
Trust: Alexander Rakoczy <alex@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/typecheck/subr.go
test/typeparam/issue47948.go [new file with mode: 0644]