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

go.tools/cmd/gotype: make gotype more tolerant in case of 'import "C"' #6775

Closed
griesemer opened this issue Nov 16, 2013 · 1 comment
Closed

Comments

@griesemer
Copy link
Contributor

gotype $GOROOT/src/pkg/net

leads to several error messages due to unresolvable 'import "C"'.

go/types could be more tolerant with invalid operands and types to avoid follow-up
errors.

(For instance, conversions of the form T(x) could always succeed even if x is invalid.
Other operations should not report an error if an operand is already invalid.)
@minux
Copy link
Member

minux commented Nov 16, 2013

Comment 1:

Status changed to Duplicate.

Merged into issue #6774.

@griesemer griesemer self-assigned this Nov 16, 2013
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants