mirror of https://github.com/golang/go.git
reflect: StructOf panics when an embedded field with > 32 methods is present
updating comment on funcTypeFixedXX structs
This commit is contained in:
parent
b45db110c0
commit
16da71ad6b
|
|
@ -1889,9 +1889,8 @@ func MapOf(key, elem Type) Type {
|
|||
return ti.(Type)
|
||||
}
|
||||
|
||||
// TODO(crawshaw): as these structTypeFixedN and funcTypeFixedN structs
|
||||
// have no methods, they could be defined at runtime using the StructOf
|
||||
// function.
|
||||
// TODO(crawshaw): as these funcTypeFixedN structs have no methods,
|
||||
// they could be defined at runtime using the StructOf function.
|
||||
type funcTypeFixed4 struct {
|
||||
funcType
|
||||
args [4]*rtype
|
||||
|
|
|
|||
Loading…
Reference in New Issue