We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think there's a problem when inferring the type of an argument that is a function with named return values.
For example, this shows no errors as expected:
func foo(fn func() error) { err := fn() err.Error() }
However this shows an err on the err.Error() line:
err.Error()
func foo(fn func() (myErr error)) { err := fn() err.Error() }
like so:
Probably because it seems to think that err has the type func() (myErr error):
err
func() (myErr error)
Using intellij 14.1.4 and plugin version 0.9.485
The text was updated successfully, but these errors were encountered:
c7934d5
Please try tonight build in several hours.
Sorry, something went wrong.
ignatov
No branches or pull requests
I think there's a problem when inferring the type of an argument that is a function with named return values.
For example, this shows no errors as expected:
However this shows an err on the
err.Error()
line:like so:

Probably because it seems to think that

err
has the typefunc() (myErr error)
:Using intellij 14.1.4 and plugin version 0.9.485
The text was updated successfully, but these errors were encountered: