Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix definitions in the net package #62

Merged
merged 1 commit into from
May 25, 2017
Merged

Conversation

rogpeppe
Copy link
Owner

There were two issues: it was parsing all files regardless
of tags, and one of the _solaris.go files in net imported
a package which had all solaris tagged files, so no
available files, so import failed.

Also, the import name resolver needed a special case
for C files.

Fixes issue #41.

As a drive-by fix, we avoid a panic when trying to find the
definition of an identifier that's derived from a tuple
index assignment that has a type error.

There were two issues: it was parsing all files regardless
of tags, and one of the _solaris.go files in net imported
a package which had all solaris tagged files, so no
available files, so import failed.

Also, the import name resolver needed a special case
for C files.

As a drive-by fix, we avoid a panic when trying to find the
definition of an identifier that's derived from a tuple
index assignment that has a type error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant