mirror of
https://github.com/golang/go
synced 2024-11-19 01:14:39 -07:00
run go generate
This commit is contained in:
parent
7fd3bf25ec
commit
2cccdd0305
@ -81,7 +81,7 @@ func (ctxt *Context) instanceHash(orig Type, targs []Type) string {
|
||||
h.typeList(targs)
|
||||
}
|
||||
|
||||
return strings.Replace(buf.String(), " ", "#", -1) // ReplaceAll is not available in Go1.4
|
||||
return strings.ReplaceAll(buf.String(), " ", "#")
|
||||
}
|
||||
|
||||
// lookup returns an existing instantiation of orig with targs, if it exists.
|
||||
|
Loading…
Reference in New Issue
Block a user