Commit b93274b
committed
gopls/internal/cache: remove overzealous bug.Report
defineView's doc comment confidently states that the only
possible failure is a canceled context... yet the very
first thing it does is return an error if the folder path
is invalid---and it was ever thus since the comment was
added in CL 552315. D'oh!
Downgrading to a non-bug error.
Fixes golang/go#70909
Change-Id: Ic58199786816ad7de9f77d18a7d46795440bdf01
Reviewed-on: https://go-review.googlesource.com/c/tools/+/639435
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>1 parent 960f0f4 commit b93274b
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
555 | | - | |
556 | | - | |
| 554 | + | |
| 555 | + | |
557 | 556 | | |
558 | 557 | | |
559 | 558 | | |
560 | | - | |
| 559 | + | |
561 | 560 | | |
562 | 561 | | |
563 | 562 | | |
| |||
572 | 571 | | |
573 | 572 | | |
574 | 573 | | |
575 | | - | |
| 574 | + | |
576 | 575 | | |
577 | 576 | | |
578 | 577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
| 813 | + | |
813 | 814 | | |
814 | | - | |
| 815 | + | |
815 | 816 | | |
816 | 817 | | |
817 | 818 | | |
| |||
838 | 839 | | |
839 | 840 | | |
840 | 841 | | |
841 | | - | |
| 842 | + | |
842 | 843 | | |
843 | 844 | | |
844 | 845 | | |
845 | | - | |
| 846 | + | |
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
| |||
0 commit comments