This website requires JavaScript.
Explore
Help
Sign in
languages
/
go
Watch
1
Star
0
Fork
You've already forked go
0
mirror of
https://github.com/golang/go
synced
2024-11-02 11:50:30 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
555bed939d
go
/
test
/
typeparam
/
typeswitch4.out
10 lines
101 B
Text
Raw
Normal View
History
Unescape
Escape
[dev.typeparams] cmd/compile: implement generic type switches Add a new dynamicType node, which is used as a case entry when the type being switched to is generic. Change-Id: Ice77c6f224b8fdd3ff574fdf4a8ea5f6c7ddbe75 Reviewed-on: https://go-review.googlesource.com/c/go/+/339429 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Dan Scales <danscales@google.com>
2021-08-03 15:10:17 +00:00
other 6
T/myint32 7
T/myint32 8
test: add extra typeswitch tests that cause duplicate cases Augmented some of the typeswitch*.go tests so that some instantiations have duplicate cases, in order to ensure we're testing that. Spacing changes in the tests are due to gofmt. Change-Id: I5d3678813505c520c544281d4ac8a62ce7e236ad Reviewed-on: https://go-review.googlesource.com/c/go/+/370155 Trust: Dan Scales <danscales@google.com> Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
2021-12-07 23:59:22 +00:00
T/myint32 9
T/myint32 10
other 42
test: additional generic type switch test coverage None of the current generic type switch test cases exercise type switches where the instantiated case is an interface type. Change-Id: I9272fa61b8dde1fe1a3702d524d4f40253ef19b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/390354 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
2022-03-07 10:27:35 +00:00
T/myint32 10
other 11
T/myint32 12
Reference in a new issue
Copy permalink