Debian Codegraph @

gopls/internal/test/marker/testdata/highlight/issue79335.txt

raw
1 Regression test for go.dev/issue/79335: crash when highlighting a
2 continue'statement not inside a loop.
3
4 -- go.mod --
5 module example.com
6 go 1.18
7
8 -- p.go --
9 package p
10
11 func _() {
12 continue //@hiloc(cont, "continue", text), diag("continue", re"continue")
13 //@highlight(cont)
14 }