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

make gotype return all errors #2340

Merged
merged 1 commit into from
Apr 2, 2019
Merged

make gotype return all errors #2340

merged 1 commit into from
Apr 2, 2019

Conversation

svanharmelen
Copy link
Contributor

@svanharmelen svanharmelen commented Mar 7, 2019

When using gotype without the -e option, it will only output the first 10 errors. When working on a larger package that often means that those 10 errors are in other files then the one that you are currently working on which then seems to indicate that there are no errors.

By adding the -e flag, all errors will be returned and shown properly in the file that you are working on.

Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

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

This should work. Update the tests.

When using `gotype` without the `-e` option, it will only output the
first 10 errors. When working on a larger package that ofter means taht
those 10 errors are in other files then the one that you are currently
working on which then seems to indicate that there are no errors.

By adding the `-e` flag, all errors will be returned and shown properly
in the file that you are working on.
@svanharmelen
Copy link
Contributor Author

@w0rp just updated the tests to match the updated command. Sorry for the delay on that!

@w0rp w0rp merged commit 5be6a2b into dense-analysis:master Apr 2, 2019
@w0rp
Copy link
Member

w0rp commented Apr 2, 2019

Cheers! 🍻

Sorry for the delay. I was busy and on holiday.

@svanharmelen
Copy link
Contributor Author

No worries! Thanks 👍

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