diff --git a/src/reflect/type.go b/src/reflect/type.go index 0a72ba6754..fb456cdd9a 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -189,6 +189,7 @@ type Type interface { // and FieldByNameFunc returns no match. // This behavior mirrors Go's handling of name lookup in // structs containing embedded fields. + // // If the returned field is promoted from an embedded struct, // then Offset in the returned StructField is the offset in // the embedded struct.