compiler,reflect: make field offsets varints

Fixes #3686
This commit is contained in:
Damian Gryski
2023-04-27 09:14:08 -07:00
committed by Ron Evans
parent 02913563df
commit 07fb3a0cad
3 changed files with 36 additions and 9 deletions
+1 -2
View File
@@ -96,8 +96,7 @@ func interfaceTypeAssert(ok bool) {
type structField struct {
typecode unsafe.Pointer // type of this struct field
offset uint32
data *uint8 // pointer to byte array containing name, tag, and 'embedded' flag
data *uint8 // pointer to byte array containing name, tag, and 'embedded' flag
}
// Pseudo function call used during a type assert. It is used during interface