mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
changes for more restricted reflect.SetValue
R=golang-dev, r CC=golang-dev https://golang.org/cl/4423043
This commit is contained in:
parent
40fccbce6b
commit
cded21a337
14 changed files with 78 additions and 56 deletions
|
|
@ -999,7 +999,6 @@ type Bad0 struct {
|
|||
C float64
|
||||
}
|
||||
|
||||
|
||||
func TestInvalidField(t *testing.T) {
|
||||
var bad0 Bad0
|
||||
bad0.CH = make(chan int)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue