Closed adonovan closed 5 days ago
Change https://go.dev/cl/631777 mentions this issue: gopls/internal/golang: refactor.extract.variable: allow all exprs
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Gopls' extract logic does not correctly handle the case when an expression has multiple values:
Before:
After: