Debian Codegraph @

gopls/internal/test/marker/testdata/foldingrange/parse_errors.txt

raw
1 This test verifies that textDocument/foldingRange does not panic
2 and produces no folding ranges if a file contains errors.
3
4 -- flags --
5 -ignore_extra_diags
6
7 -- a.go --
8 package folding //@foldingrange(raw)
9
10 // No comma.
11 func _(
12 a string
13 ) {}
14
15 // Extra brace.
16 func _() {}}
17 -- @raw --
18 package folding //@foldingrange(raw)
19
20 // No comma.
21 func _(
22 a string
23 ) {}
24
25 // Extra brace.
26 func _() {}}