There was an error while loading. Please reload this page.
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