Skip to content

Commit f4dce0d

Browse files
committed
Make comment clearer
1 parent 0a91a9d commit f4dce0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/extractor/extractor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,9 +1677,9 @@ func extractTypeWithFlags(tw *trap.Writer, tp types.Type, transparentAliases boo
16771677
if !transparentAliases && containsAliasTypes(tp) {
16781678
// Ensure the (deep) underlying type is also extracted, so that it is
16791679
// possible to implement deepUnalias in QL.
1680-
// For example, if we had type A = int and type B = string, we would need
1681-
// to extract map[string]int so that deepUnalias(map[B]A) has a real member
1682-
// of @type to return.
1680+
// For example, if we had type A = int and type B = string, when extracting
1681+
// map[B]A we would need to also extract map[string]int so that
1682+
// deepUnalias(map[B]A) has a real member of @type to return.
16831683
extractTypeWithFlags(tw, tp, true)
16841684
}
16851685
var kind int

0 commit comments

Comments
 (0)