1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:24:39 -07:00
go/internal/lsp/testdata/cast/cast.go.in

11 lines
225 B
Go
Raw Normal View History

package cast
func _() {
foo := struct{x int}{x: 1} //@item(x_field, "x", "int", "field")
_ = float64(foo.x) //@complete("x", x_field)
}
func _() {
foo := struct{x int}{x: 1}
_ = float64(foo. //@complete(" /", x_field)
}