mirror of https://github.com/golang/go.git
x/tools/internal/lsp: disable a test so we can change the parser error
This will allow us to submit CL 425007 after which we can re-enable this code and adjust the error accordingly. For golang/go#54511. Change-Id: I2861a8f372bce214824d7cbdffad6abf7ca4a58e Reviewed-on: https://go-review.googlesource.com/c/tools/+/425497 Reviewed-by: Alan Donovan <adonovan@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
db6a62ca56
commit
7111c2e56d
|
|
@ -5,9 +5,16 @@ import (
|
|||
)
|
||||
|
||||
func _() {
|
||||
defer foo.F //@complete(" //", Foo),diag(" //", "syntax", "function must be invoked in defer statement", "error")
|
||||
/*
|
||||
Temporarily disabled so we can change the parser error message
|
||||
TODO(gri) uncomment once CL 425007 is submitted, and remove spaces
|
||||
between // and @.
|
||||
|
||||
defer foo.F // @complete(" //", Foo),diag(" //", "syntax", "function must be invoked in defer statement", "error")
|
||||
y := 1
|
||||
defer foo.F //@complete(" //", Foo)
|
||||
|
||||
defer foo.F // @complete(" //", Foo)
|
||||
*/
|
||||
}
|
||||
|
||||
func _() {
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
-- summary --
|
||||
CallHierarchyCount = 2
|
||||
CodeLensCount = 5
|
||||
CompletionsCount = 265
|
||||
CompletionsCount = 263
|
||||
CompletionSnippetCount = 106
|
||||
UnimportedCompletionsCount = 5
|
||||
DeepCompletionsCount = 5
|
||||
FuzzyCompletionsCount = 8
|
||||
RankedCompletionsCount = 164
|
||||
CaseSensitiveCompletionsCount = 4
|
||||
DiagnosticsCount = 38
|
||||
DiagnosticsCount = 37
|
||||
FoldingRangesCount = 2
|
||||
FormatCount = 6
|
||||
ImportCount = 8
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
-- summary --
|
||||
CallHierarchyCount = 2
|
||||
CodeLensCount = 5
|
||||
CompletionsCount = 266
|
||||
CompletionsCount = 264
|
||||
CompletionSnippetCount = 116
|
||||
UnimportedCompletionsCount = 5
|
||||
DeepCompletionsCount = 5
|
||||
FuzzyCompletionsCount = 8
|
||||
RankedCompletionsCount = 174
|
||||
CaseSensitiveCompletionsCount = 4
|
||||
DiagnosticsCount = 38
|
||||
DiagnosticsCount = 37
|
||||
FoldingRangesCount = 2
|
||||
FormatCount = 6
|
||||
ImportCount = 8
|
||||
|
|
|
|||
Loading…
Reference in New Issue