blob: fbb642f08a5b8a2a827f1c40923ce393d8d6fea5 [file] [log] [blame]
package snippets
import (
"golang.org/lsptests/signature"
t "golang.org/lsptests/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{\\}")
}
}