aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2022-03-13 00:04:46 +0700
committerCuong Manh Le <cuong.manhle.vn@gmail.com>2022-03-14 17:55:47 +0000
commit8419ec295cd86a3d26cd360ef5f919a51fe33ebb (patch)
treedbbcf910a08e669ed7445e6b7dacbad13c0cce8f /test/typeparam
parent676858f3d4786054e1b27b999b5e73190f25288c (diff)
downloadgo-8419ec295cd86a3d26cd360ef5f919a51fe33ebb.tar.xz
cmd/compile: fix wrong dict param when getting dict type
CL 338129 added getDictionaryType to get the dictionary type from the specified dict param, but still using the one in info.dictParam, which is wrong. Fixes #51413 Change-Id: Ie13460c1e5751c4c5fc44479a44f6eed8b3b06e4 Reviewed-on: https://go-review.googlesource.com/c/go/+/391994 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Trust: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'test/typeparam')
-rw-r--r--test/typeparam/mdempsky/13.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/mdempsky/13.go b/test/typeparam/mdempsky/13.go
index bf37a64177..8e11352b51 100644
--- a/test/typeparam/mdempsky/13.go
+++ b/test/typeparam/mdempsky/13.go
@@ -1,4 +1,4 @@
-// run -gcflags=""
+// run
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style