blob: 43931d18ef79b8f44dc4e10152646b20c2721c29 [file] [log] [blame]
package snippets
import (
"golang.org/x/tools/internal/lsp/signature"
t "golang.org/x/tools/internal/lsp/types"
)
type structy struct {
x signature.MyType
}
func X(_ map[signature.Alias]t.CoolAlias) (map[signature.Alias]t.CoolAlias) {
return nil
}
func _() {
X() //@signature(")", "X(_ map[signature.Alias]t.CoolAlias) map[signature.Alias]t.CoolAlias", 0)
_ = signature.MyType{} //@item(literalMyType, "signature.MyType{}", "", "var")
s := structy{
x: //@snippet(" //", literalMyType, "signature.MyType{\\}", "signature.MyType{\\}")
}
}