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 09:28:34 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
526de61c67
go
/
test
/
typeparam
/
dottype.out
11 lines
47 B
Text
Raw
Normal View
History
Unescape
Escape
[dev.typeparams] cmd/compile: fix HasShape, add dottype test HasShape needs a TINTER case. Add a test for x.(T) in various situations. Needs the fix above. Also remove ONEW unshapify case. It is ok for ONEW to have a shape type, as it will just be passed to mallocgc, or possibly used as a stack object type, both of which are ok. Change-Id: Ibddf8f5c8c254d32cb5ebcaca7dc94b4c00ab893 Reviewed-on: https://go-review.googlesource.com/c/go/+/337231 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com>
2021-07-24 21:11:27 +00:00
3
3 true
0 false
3
3 true
0 false
3
3
[dev.typeparams] cmd/compile: implement generic .(T) operations Introduce new dynamic dottype operations which take a dynamic instead of static type to convert to. Change-Id: I5824a1fea056fe811b1226ce059e1e8da1baa335 Reviewed-on: https://go-review.googlesource.com/c/go/+/337609 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com>
2021-07-27 00:41:02 +00:00
0
0 true
Reference in a new issue
Copy permalink