Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

go/types: support vendor directories #33

Merged
merged 1 commit into from
May 27, 2016
Merged

Conversation

rogpeppe
Copy link
Owner

We add the importer context to the Type so that a type always knows how
to further resolve itself when necessary. This context contains the FileSet
which enables us to know the source directory of a node when resolving it.

@@ -76,8 +80,8 @@ var GoPath = []string{filepath.Join(os.Getenv("GOROOT"), "src", "pkg")}

// DefaultGetPackage looks for the package; if it finds it,
Copy link

Choose a reason for hiding this comment

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

Wrong comment?

@mattyw
Copy link

mattyw commented May 27, 2016

👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants