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

Always type-check the whole package for one file #50

Merged
merged 6 commits into from Oct 28, 2016

Conversation

zimmski
Copy link
Owner

@zimmski zimmski commented Oct 28, 2016

No description provided.

We need to type-check the whole package, or we miss something defined in
another file of the same package. Unfortunately it makes sense to use
go/loader which is quite slower than the pure go/types solution.
However, this gets also rid of some false type-checking cases.

Fixes #47
@zimmski zimmski changed the title Type-check whole package for one file Always type-check the whole package for one file Oct 28, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-21.2%) to 55.955% when pulling f85323e on 47-typecheck-whole-package-for-one-file into f08004d on master.

Altough this gets rid of some compile errors, it converts one duplicate
of the example folder to a pass mutation.
@zimmski zimmski force-pushed the 47-typecheck-whole-package-for-one-file branch from f85323e to 33d4a08 Compare October 28, 2016 18:59
@coveralls
Copy link

Coverage Status

Coverage decreased (-10.2%) to 66.971% when pulling 33d4a08 on 47-typecheck-whole-package-for-one-file into f08004d on master.

@zimmski zimmski merged commit 4c5263d into master Oct 28, 2016
@zimmski zimmski deleted the 47-typecheck-whole-package-for-one-file branch October 28, 2016 19:07
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.

None yet

2 participants