Skip to content

Commit 1cb61b8

Browse files
cuonglmrandall77
authored andcommitted
runtime: add doc to remind adopting changes to reflectlite
Updates #34486 Change-Id: Iec9a5d120013aaa287eccf2999b3f2b831be070e Reviewed-on: https://go-review.googlesource.com/c/go/+/197558 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 80fb18e commit 1cb61b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import "unsafe"
1414
// cmd/compile/internal/gc/reflect.go
1515
// cmd/link/internal/ld/decodesym.go
1616
// reflect/type.go
17+
// internal/reflectlite/type.go
1718
type tflag uint8
1819

1920
const (
@@ -26,6 +27,7 @@ const (
2627
// Needs to be in sync with ../cmd/link/internal/ld/decodesym.go:/^func.commonsize,
2728
// ../cmd/compile/internal/gc/reflect.go:/^func.dcommontype and
2829
// ../reflect/type.go:/^type.rtype.
30+
// ../internal/reflectlite/type.go:/^type.rtype.
2931
type _type struct {
3032
size uintptr
3133
ptrdata uintptr // size of memory prefix holding all pointers

0 commit comments

Comments
 (0)