MarkedSource for Go types should track the structure of the type


When recording MarkedSource values for Go types, it would be nice if we could follow the same structure that the go/types package uses. But right now the details of how it renders names are unexported, so we'd have to fork the package to do that.

Find a better way to handle this: One possibility is to destructure function, struct, and interface types explicitly via the exported interface. That wouldn't be quite as efficient, but would avoid the need for forking and might be good enough.

fromberger created this task.Via WebApr 3 2017, 10:48 AM
fromberger claimed this task.
fromberger added a project: Restricted Project.
fromberger added a subscriber: fromberger.
Herald added a subscriber: Core Team. · View Herald TranscriptVia HeraldApr 3 2017, 10:49 AM

Add Comment