Commit 1cc1b7c
src/goGenerateTests: fix method can not generate test in gopls document symbol
Gopls's document symbol provider classifies methods correctly, while `go-outline`-based document symbol provider marks them as "function". The difference caused regression after change for #1020.
Fixes #2091
Change-Id: I1b92753132be26b528f994ae42af32c723dd7ce2
GitHub-Last-Rev: 6483108
GitHub-Pull-Request: #2090
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/389994
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
Trust: Suzy Mueller <[email protected]>1 parent aca26c6 commit 1cc1b7c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
0 commit comments