gotools/gopls/internal/test/marker/testdata/hover/hover.txt

This test demonstrates some features of the new marker test runner.

-- a.go --
// package comment
package aa //@hover("aa", "aa", aa)

const abc = 0x2a //@hover("b", "abc", abc),hover(" =", "abc", abc)
-- typeswitch.go --
package aa

func _() {
	var y interface{}
	switch x := y.(type) { //@hover("x", "x", x)
	case int:
		println(x) //@hover("x", "x", xint),hover(")", "x", xint)
	}
}
-- @abc --
```go
const abc untyped int = 0x2a // 42
```

@hover("b", "abc", abc),hover(" =", "abc", abc)
-- @x --
```go
var x interface{}
```
-- @xint --
```go
var x int
```
-- @aa --
package comment