You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reminder issue: right now StubMethods is available as a code-action when there are missing methods. For discoverability it should also be available as a quick-fix for the go/types error.
Hmm, I think fixing this requires some deeper digging / refactoring of how type error analysis works. It seems like we have some error analyzers that show up as code lenses, and others that are supposed to be quick fixes that don't actually function as such:
E.g. if I have
var x intx := 1
We're supposed to suggest a quick fix changing the last statement to x = 1 (the nonewvars analyzer), but AFAICT this simply doesn't work.
Bumping out of the milestone, as this appears to be a larger project than expected.
Activity
findleyr commentedon May 9, 2022
Hmm, I think fixing this requires some deeper digging / refactoring of how type error analysis works. It seems like we have some error analyzers that show up as code lenses, and others that are supposed to be quick fixes that don't actually function as such:
E.g. if I have
We're supposed to suggest a quick fix changing the last statement to
x = 1
(thenonewvars
analyzer), but AFAICT this simply doesn't work.Bumping out of the milestone, as this appears to be a larger project than expected.
10 remaining items