We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf6ed6 commit 9381ddaCopy full SHA for 9381dda
go/extractor/extractor.go
@@ -1608,7 +1608,7 @@ func extractType(tw *trap.Writer, tp types.Type) trap.Label {
1608
case *types.Struct:
1609
kind = dbscheme.StructType.Index()
1610
for i := 0; i < tp.NumFields(); i++ {
1611
- field := tp.Field(i)
+ field := tp.Field(i).Origin()
1612
1613
// ensure the field is associated with a label - note that
1614
// struct fields do not have a parent scope, so they are not
0 commit comments