Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

export: support j2d and find refs for imports #18

Merged
merged 8 commits into from Aug 6, 2019
Merged

Conversation

unknwon
Copy link
Member

@unknwon unknwon commented Aug 6, 2019

Previously, only renamed import (e.g. import doc "github.com/slimsag/godocmd") would have an object in p.TypesInfo.Defs map.
This PR aims to iterate over import list of each file (i.e. f.Imports) and insert them into the p.TypesInfo.Defs map, to reuse the e.exportDefs for emitting elements.

image

Copy link
Contributor

@chrismwendt chrismwendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@unknwon unknwon merged commit ca18143 into master Aug 6, 2019
@unknwon unknwon deleted the jc/imports branch August 6, 2019 23:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants