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 778719e commit d4c600fCopy full SHA for d4c600f
internal/core/export/extract.go
@@ -37,6 +37,10 @@ func extractDocs(v *adt.Vertex, a []adt.Conjunct) (docs []*ast.CommentGroup) {
37
38
// Collect docs directly related to this Vertex.
39
for _, x := range a {
40
+ if v, ok := x.Expr().(*adt.Vertex); ok {
41
+ docs = append(docs, extractDocs(v, v.Conjuncts)...)
42
+ continue
43
+ }
44
f, ok := x.Source().(*ast.Field)
45
if !ok || hasShorthandValue(f) {
46
continue
0 commit comments